Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 30: Line 30:  
=== Step 1: bam --> pileup ===
 
=== Step 1: bam --> pileup ===
   −
  $GC/bin/samtools mpileup -q 30 -Q 20 -f $REF/human.g1k.v37.fa -l $HGDP/HGDP_938.bed $OUT/bams/${SAMPLE}.recal.bam > $OUT/ancestry/${SAMPLE}.HGDP.pileup
+
  $GC/bin/samtools mpileup -q 30 -Q 20 -f $SSREF/gotcloud.ref/hs37d5.fa -l $SSREF/HGDP_938.bed $OUT/bams/${SAMPLE}.recal.bam > $OUT/ancestry/${SAMPLE}.HGDP.pileup
    
This step takes ~1 hour for a genome sequenced at 17X.
 
This step takes ~1 hour for a genome sequenced at 17X.
Line 53: Line 53:     
  python $LASER/pileup2seq/pileup2seq.py \
 
  python $LASER/pileup2seq/pileup2seq.py \
  -m $HGDP/HGDP_938.site \
+
  -m $SSREF/HGDP_938.site \
 
  -o $OUT/ancestry/$SAMPLE.HGDP \
 
  -o $OUT/ancestry/$SAMPLE.HGDP \
 
  $OUT/ancestry/$SAMPLE.HGDP.pileup
 
  $OUT/ancestry/$SAMPLE.HGDP.pileup
Line 62: Line 62:  
This step will take about 5-6 minutes.
 
This step will take about 5-6 minutes.
   −
  $LASER/laser -g $HGDP/HGDP_938.geno -c $HGDP/HGDP_938.RefPC.coord -s $OUT/ancestry/$SAMPLE.HGDP.seq -K 20 -k 4 -M 0.8 -o $OUT/ancestry/$SAMPLE.HGDP &
+
  $LASER/laser -g $SSREF/HGDP_938.geno -c $SSREF/HGDP_938.RefPC.coord -s $OUT/ancestry/$SAMPLE.HGDP.seq -K 20 -k 4 -M 0.8 -o $OUT/ancestry/$SAMPLE.HGDP &
    
View the results:
 
View the results:

Navigation menu