Skip to content

Instantly share code, notes, and snippets.

@agaszmurlo
Last active July 30, 2020 11:00
Show Gist options
  • Save agaszmurlo/c92f7199632768123dfdf1b1df6e2c99 to your computer and use it in GitHub Desktop.
Save agaszmurlo/c92f7199632768123dfdf1b1df6e2c99 to your computer and use it in GitHub Desktop.
pileup test procedure
samtools mpileup --fasta-ref ../../reference/Homo_sapiens_assembly18_chr1_chrM.small.fasta -A -q 0 -Q 0 NA12878.multichrom.md.bam -o samtools.pileup2
samtools mpileup --fasta-ref ../../reference/Homo_sapiens_assembly18_chr1_chrM.small.fasta -B -x -A -q 0 -Q 0 NA12878.multichrom.md.bam > samtools_x.pileup
sed $'s/\t"/\t\\\\"/g' samtools_x.pileup> samtools_x_esc.pileup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment