mkatari-bioinformatics-august-2013-blastnotes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mkatari-bioinformatics-august-2013-blastnotes [2014/07/11 09:03] – mkatari | mkatari-bioinformatics-august-2013-blastnotes [2015/06/04 12:38] (current) – mkatari | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[mkatari-bioinformatics-august-2013|Back to Manny' | [[mkatari-bioinformatics-august-2013|Back to Manny' | ||
+ | |||
+ | This page contains a short introduction on how to create a Blast database and also how to run Blast using a query. Please replace your sequences with the names provided for the scripts to work for you. | ||
+ | |||
+ | **Please remember** --- if you are planning to run Blast on command line, please do it in **interactive** mode. The recommended approach is to use sbatch scripts (described in more detail further down the page). | ||
====== Getting specific fasta sequences from reference file ====== | ====== Getting specific fasta sequences from reference file ====== | ||
Line 54: | Line 58: | ||
< | < | ||
module load blast | module load blast | ||
- | which blastx | + | which blastn |
- | / | + | / |
</ | </ | ||
Line 72: | Line 76: | ||
#SBATCH -n 8 | #SBATCH -n 8 | ||
- | / | + | module load blast |
+ | |||
+ | echo "Blast ready to run" | ||
+ | |||
+ | blastn | ||
+ | -out scaffold12498.cassavaV5_2.bout \ | ||
+ | --num_threads 8 -outfmt 6 -evalue 0.00001 | ||
+ | |||
+ | echo "Blast complete" | ||
</ | </ | ||
+ | |||
* Run the sbatch file. As soon as you run the file a job id will be assigned to your submission. | * Run the sbatch file. As soon as you run the file a job id will be assigned to your submission. | ||
Line 129: | Line 143: | ||
# the different columns in this output format are : | # the different columns in this output format are : | ||
- | # Fields: query id, subject id, % identity, alignment length, mismatches, gap opens, query start, query end, subject start, subject end, evalue, bit score | + | # Fields: query id, |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
mkatari-bioinformatics-august-2013-blastnotes.1405069410.txt.gz · Last modified: 2014/07/11 09:03 by mkatari