1. Background:
Download the protein sequence in UniProt database to the local machine, use the file to create BLAST search database, and then use blastp command to search in the database.
2. Mistake
Follow the instructions in the blast manual. In order to speed up the search process, use the mask file. The sequence file sequences. Downloaded from UniProt FASTA, such as:
> sid1
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> sid2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
………………………………………………………..
1) To create a mask file:
segmasker -in sequences.fasta -infmt fasta -outfmt maskingfo_asnl_bin \
-out refsequences.asnb -parse_seqids
2) Create database
makeblastdb -in sequences.fasta -input_type fasta -dbtype prot -out uniprot \
-title “Uniprot” -parse_seqids
3) Sequence alignment
blastp -db uniprot -query input.fasta -out output.txt -outfmt 7
Result error: BLAST Database error: Error pre-fetching sequences data
3. Solution
databases_seqids is not used when creating mask files and database.
segmasker -in sequences.fasta -infmt fasta -outfmt maskingfo_asnl_bin \
-out refsequences.asnb
makeblastdb -in sequences.fasta -input_type fasta -dbtype prot -out uniprot -title “Uniprot”
Read More:
- [Solved] VINS-MONO: integer_sequence_algorithm.h:64:21: error: ‘integer_sequence’ is not a member of ‘std’
- Python draw error: ValueError: ‘color’ kwarg must be a color or sequence of color specs. For a sequence of values to b
- Postgres Multiple data insertion error: The ‘default‘ dialect with current database version settings does not support
- Kafka Error while fetching metadata with correlation id 1 : {alarmHis=LEADER_NOT_AVAILABLE}
- [Solved] Android Room: Database Common Error ‘missing database’
- jenkenis ERROR: Error fetching remote repo ‘origin‘ [How to Solve]
- kafka Error: Error while fetching metadata with correlation
- [Solved] error converting to execution character set illegal byte sequence
- Mybatis Connect Database Error: Error querying database. Cause: java.sql.SQLException: The server time zone value..
- Creating test database for alias ‘postgres’… Got an error creating the test database: permission
- srs Error: demux SPS/PPS : avc decode sequence header
- [Solved] Mac Install mongodb error: NonExistentPath: Data directory /data/db not found.
- [Solved] Failed to load response data: no data found for resource with given identifier
- [Solved] A-LOAM Ceres Compile Error: error: ‘integer_sequence’ is not a member of ‘std‘
- Sqoop Error: Can‘t parse input data: ‘\N‘ [How to Solve]
- SVN ERROR (E200033): database is locked [How to Solve]
- [Solved] Jmeter Connect Database Error: Cannot create PoolableConnectionFactory
- Oracle Database Cannot Open mount Mode Error: ORA-01102
- [Solved] bee must have one register DataBase alias named `default`
- DM backup database Error: [-7169]:bakres failed to communicate with DMAP message.