From Genome Analysis Wiki
Jump to navigationJump to search
30 bytes added
, 21:43, 19 November 2009
mLine 38: |
Line 38: |
| = Map Color Space Reads = | | = Map Color Space Reads = |
| | | |
− | KARMA expects valid color space FASTQ files as input. We often use the suffix .csfastq to distinguish these from nucleotide space reads. For a .csfatq file of single end color space reads named single.csfastq, invoke the command:<br> | + | KARMA expects valid color space FASTQ files as input. We often use the suffix .csfastq to distinguish these from nucleotide space reads. For a .csfastq file of single end color space reads named single.csfastq, invoke the command:<br> |
| | | |
| karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace single.csfastq | | karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace single.csfastq |
| | | |
− | This command line specifies both the nucleotide and color space reference sequences (and the word indexes, invisibly). The output will be written to a file in .sam format named "single.sam".<br> | + | This command line specifies both the nucleotide and color space reference sequences (and the word indexes, invisibly). The output will be written to a file in .sam format named "single.sam".<br> |
| + | <br> |
| | | |
| Multiple input files are also acceptable, e.g.<br> | | Multiple input files are also acceptable, e.g.<br> |
Line 49: |
Line 50: |
| single.1.csfastq single.2.csfastq single.3.csfastq | | single.1.csfastq single.2.csfastq single.3.csfastq |
| | | |
− | For paired end color space reads, use the option "--pairedReads". Suppose the paired end reads are stored as two files, pair.1.csfastq and pair.2.csfastq. The command to invoke is:<br> | + | For paired end color space reads, use the option "--pairedReads". Suppose the paired end reads are stored in two files, pair.1.csfastq and pair.2.csfastq. The command to invoke is:<br> |
| | | |
| karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace \ | | karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace \ |
| --pairedReads pair.1.csfastq pair.2.csfastq | | --pairedReads pair.1.csfastq pair.2.csfastq |
| | | |
− | The mapping results will be stored in a SAM file named "pair.sam", which contains reads from both files. If multiple paired end reads files are specified on the command line, KARMA will pair the 1st and 2nd files, 3rd and 4th files and etc.<br> | + | The mapping results will be stored in a .sam file named "pair.sam", which contains reads from both files. If multiple paired end read files are specified on the command line, KARMA will pair the 1st and 2nd files, 3rd and 4th files and etc.<br> |
| | | |
| karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace \ | | karma --reference NCBI36.fa --csReference NCBI36CS.fa --colorSpace \ |