Difference between revisions of "Preparing reference sequence"
Jump to navigation
Jump to search
Thomas Admin (talk | contribs) (Created page with "http://genomeview.org/content/preparing-fasta-files") |
|||
Line 1: | Line 1: | ||
− | http:// | + | To be able to easily handle large reference genomes, it is required that they are indexed. This can be done with the <em>faidx</em> command from the samtools package. |
+ | |||
+ | If you are also preparing HTS data sets in the BAM format, this step will also be part of that procedure, so either you move right to the [[BAM|short read preparation page]] or you can skip the step there whenever you're ready. | ||
+ | |||
+ | To index a fasta file you run | ||
+ | samtools faidx reference.fasta | ||
+ | |||
+ | |||
+ | ==Attention== | ||
+ | If your file was called reference.fasta, GenomeView will search for reference.fasta.fai in the same directory. If you want to be able to load large files, make sure those two files are correctly named and in the same folder. | ||
+ | |||
+ | You can <a href="http://samtools.sourceforge.net/">download the samtools package from Sourceforge</a>. |
Revision as of 19:00, 18 November 2013
To be able to easily handle large reference genomes, it is required that they are indexed. This can be done with the faidx command from the samtools package.
If you are also preparing HTS data sets in the BAM format, this step will also be part of that procedure, so either you move right to the short read preparation page or you can skip the step there whenever you're ready.
To index a fasta file you run
samtools faidx reference.fasta
Attention
If your file was called reference.fasta, GenomeView will search for reference.fasta.fai in the same directory. If you want to be able to load large files, make sure those two files are correctly named and in the same folder.
You can <a href="http://samtools.sourceforge.net/">download the samtools package from Sourceforge</a>.