From Genome Analysis Wiki
Jump to navigationJump to search
4 bytes removed
, 17:13, 18 March 2010
Line 21: |
Line 21: |
| In order to extract paired end reads, the BAM file has to be sorted by name, e.g. using samtools. Suppose the BAM file is myinput.bam | | In order to extract paired end reads, the BAM file has to be sorted by name, e.g. using samtools. Suppose the BAM file is myinput.bam |
| | | |
− | samtools sort -n myinput.bam myinput.sortByName.bam | + | samtools sort -n myinput.bam myinput.sortByName |
| | | |
| Using sorted bam file to extract paired end fastq files | | Using sorted bam file to extract paired end fastq files |