Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 144: Line 144:  
We need to add these BAMs to our index
 
We need to add these BAMs to our index
 
* Append the bam.index from the pre-aligned BAMs to the one you generated from the alignment pipeline
 
* Append the bam.index from the pre-aligned BAMs to the one you generated from the alignment pipeline
 +
** '''Be sure to do this command just once'''
 
  cat ${SS}/bams/bam.index >> ${OUT}/bam.index
 
  cat ${SS}/bams/bam.index >> ${OUT}/bam.index
 
* ">>" will append to the file that follows it
 
* ">>" will append to the file that follows it
* '''Be sure to do this command just once'''
   
** Check that your BAM index is the correct size
 
** Check that your BAM index is the correct size
 
**:<pre>wc -l ${OUT}/bam.index</pre>
 
**:<pre>wc -l ${OUT}/bam.index</pre>

Navigation menu