Daniel:Notebook/GenomeMiner/2013-7-22

From ZhangLabWiki
Revision as of 20:52, 22 July 2013 by >Djacobse
Jump to navigation Jump to search

HL155

Back to Calendar

1. Converting SAM to BAM

samtools view -bS hrcp_fullindex_samout.sam > hrcp_hl155.bam

2. Sorting BAM file

samtools sort hrcp_hl155.bam hrcp_sorted_hl155

Alternate Pipeline (Can be used instead of 1 and 2)

samtools view -bS hrcp_fullindex_samout.sam | samtools sort - hrcp_sorted_hl155

3. Create BAM index file

samtools index hrcp_sorted_hl155.bam hrcp_sorted_hl155.bai