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 [2018/07/04 14:43] – 24.138.71.142 | blast_and_plast [2024/11/04 10:14] (current) – 110.239.172.216 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Here is a shell to run **plast**:\\ | + | Here is a shell to run **PLAST**:\\ |
| - | #!/bin/bash\\ | + | < |
| - | #$ -S /bin/bash\\ | + | # |
| - | . / | + | #$ -S /bin/bash |
| - | #$ -o logo\\ | + | . / |
| - | #$ -cwd\\ | + | #$ -o logo |
| - | #$ -pe threaded 10\\ | + | #$ -cwd |
| - | cd $PWD\\ | + | #$ -pe threaded 10 |
| - | CPUs=10\\ | + | cd $PWD |
| - | DB=database\\ | + | CPUs=10 |
| - | QF=yourquery.fasta\\ | + | DB=/ |
| - | plast -e 1e-10 -max-hit-per-query 1 -outfmt 1 -a $CPUs -p plastn | + | QF=yourquery.fasta |
| + | plast -e 1e-10 -max-hit-per-query 1 -outfmt 1 -a $CPUs -p plastp -max-database-size 10000000000 | ||
| + | </ | ||
| + | to parse the output see https:// | ||
| - | to parse the output see http:// | ||
| + | Here is a shell example to run **BLAST**: | ||
| - | Here is a shell example to run **blast** using MMETSP database: | + | < |
| - | + | # | |
| - | #!/bin/bash\\ | + | #$ -S /bin/bash |
| - | #$ -S /bin/bash\\ | + | . / |
| - | . / | + | #$ -pe threaded 10 |
| - | #$ -cwd\\ | + | #$ -cwd |
| source activate blast | source activate blast | ||
| - | DB=/db1/extra-data-sets/MMETSP/ | + | export BLASTDB=/db1/blast-may-2024/ |
| - | blastn -db $DB -query | + | DB=nt |
| - | source | + | query=your_query.fasta |
| + | blastn -db $DB -query | ||
| + | conda deactivate | ||
| + | </ | ||
| + | |||
| + | Both shells use NCBI nt database, but PLAST doesn' | ||
| + | |||
| + | <Last updated by Dandan Zhao on Jun 11, 2024> | ||
blast_and_plast.1530726204.txt.gz · Last modified: by 24.138.71.142
