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 12:33] – 134.190.234.130 | 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:// | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | Here is a shell example to run **BLAST**:\\ | ||
| + | |||
| + | < | ||
| + | # | ||
| + | #$ -S /bin/bash | ||
| + | . / | ||
| + | #$ -pe threaded 10 | ||
| + | #$ -cwd | ||
| + | source activate blast | ||
| + | export BLASTDB=/ | ||
| + | DB=nt | ||
| + | query=your_query.fasta | ||
| + | blastn -db $DB -query $query -out yourqueryresults.blout -num_threads 10 -outfmt "6 qseqid sseqid evalue pident qcovs length slen qlen qstart qend sstart send stitle" | ||
| + | conda deactivate | ||
| + | </ | ||
| + | |||
| + | Both shells use NCBI nt database, but PLAST doesn' | ||
| + | |||
| + | <Last updated by Dandan Zhao on Jun 11, 2024> | ||
| - | to parse the output see [[dayana_salas_utility_scripts|]] | ||
blast_and_plast.1530718434.txt.gz · Last modified: by 134.190.234.130
