User Tools

Site Tools


mkatari-bioinformatics-august-2013-bowtienotes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
mkatari-bioinformatics-august-2013-bowtienotes [2014/04/30 12:24] – created mkatarimkatari-bioinformatics-august-2013-bowtienotes [2014/04/30 12:29] mkatari
Line 1: Line 1:
-#Bowtie on Cassava+[[mkatari-bioinformatics-august-2013|Back to Manny's Bioinformatics Workshop Home]] 
 + 
 +====== Creating and Running Bowtie using Cassava ====== 
 + 
 +Make you are in "interactive mode"
  
 1) Download cassava genome from phytozome 1) Download cassava genome from phytozome
  
 +<code>
 wget ftp://ftp.jgi-psf.org/pub/compgen/phytozome/v9.0/Mesculenta/assembly/Mesculenta_147.fa.gz wget ftp://ftp.jgi-psf.org/pub/compgen/phytozome/v9.0/Mesculenta/assembly/Mesculenta_147.fa.gz
 +</code>
  
 2) created a directory called cassava 2) created a directory called cassava
 +<code>
 mkdir cassava mkdir cassava
 +</code>
  
 3) move fasta sequence in the directory 3) move fasta sequence in the directory
 +<code>
 mv Mesculenta_147.fa.gz cassava/ mv Mesculenta_147.fa.gz cassava/
 +</code>
 4) uncompress using gunzip 4) uncompress using gunzip
 +<code>
 cd cassava cd cassava
 gunzip Meculenta_147.fa.gz gunzip Meculenta_147.fa.gz
 +</code>
 5) Count number of scaffold in the file 5) Count number of scaffold in the file
 +<code>
 grep ">" Mesculenta_147.fa | wc grep ">" Mesculenta_147.fa | wc
 +</code>
 6) load bowtie module 6) load bowtie module
 +<code>
 module load bowtie2 module load bowtie2
 +</code>
 7) Create the bowtie index. 7) Create the bowtie index.
 +<code>
 bowtie2-build Mesculenta_147.fa cassava bowtie2-build Mesculenta_147.fa cassava
 +</code>
 8) Run Bowtie using single end fastq as input. See bowtie2 for instructions on how to run it on pair-end sequences. 8) Run Bowtie using single end fastq as input. See bowtie2 for instructions on how to run it on pair-end sequences.
 +<code>
 bowtie2 -x cassava/cassava -U test.fastq -S test.sam bowtie2 -x cassava/cassava -U test.fastq -S test.sam
 +</code>
mkatari-bioinformatics-august-2013-bowtienotes.txt · Last modified: 2014/07/03 13:19 by mkatari