blast_and_plast
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blast_and_plast [2021/09/01 16:35] – 38.20.199.40 | blast_and_plast [2024/11/04 10:14] (current) – 110.239.172.216 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| cd $PWD | cd $PWD | ||
| CPUs=10 | CPUs=10 | ||
| - | DB=/db1/nr-nt-fasta-oct-2020/ | + | DB=/scratch3/ |
| QF=yourquery.fasta | QF=yourquery.fasta | ||
| - | plast -e 1e-10 -max-hit-per-query 1 -outfmt 1 -a $CPUs -p plastn | + | plast -e 1e-10 -max-hit-per-query 1 -outfmt 1 -a $CPUs -p plastp |
| </ | </ | ||
| - | to parse the output see http://129.173.88.134:81/dokuwiki/ | + | to parse the output see https://perun.biochem.dal.ca/user-wiki/ |
| Line 26: | Line 26: | ||
| #$ -S /bin/bash | #$ -S /bin/bash | ||
| . / | . / | ||
| - | #$ -pe threaded | + | #$ -pe threaded |
| #$ -cwd | #$ -cwd | ||
| source activate blast | source activate blast | ||
| - | export BLASTDB=/ | + | export BLASTDB=/ |
| DB=nt | DB=nt | ||
| query=your_query.fasta | query=your_query.fasta | ||
| - | blastn -db $DB -query $query -out yourqueryresults.blout -num_threads | + | blastn -db $DB -query $query -out yourqueryresults.blout -num_threads |
| - | source | + | conda deactivate |
| </ | </ | ||
| - | Both shells | + | Both shells |
| - | Guide for **BLAST** usage | + | <Last updated by Dandan Zhao on Jun 11, 2024> |
| - | blastp: | + | |
| - | blastn: | + | |
| - | blastx: | + | |
| - | tblastn: | + | |
| - | tblastx: | + | |
| - | Note: blastp and blastx can usually provide better alignments than blastn, especially for distantly related species.This is because amino acids sequences are more conserved than nucleotides (Koonin and Galperin, 2002). | ||
| - | General bugs when mistakenly use blast options(e.g., | ||
| - | |||
| - | Error 1: | ||
| - | FASTA-Reader: | ||
| - | FASTA-Reader: | ||
| - | |||
| - | Solve : | ||
| - | This is due to mistakenly use the blast options. | ||
| - | |||
| - | Error 2: | ||
| - | BLAST Database error: No alias or index file found for protein database [XXX.fa] in search path [/ | ||
| - | |||
| - | Solve 2: | ||
| - | This is due to mistakenly treat nucleotide database as protein database. | ||
blast_and_plast.1630524935.txt.gz · Last modified: by 38.20.199.40
