Skip to content

Instantly share code, notes, and snippets.

@jodyphelan
Last active December 1, 2019 15:07
Show Gist options
  • Save jodyphelan/fb5b1d8a3a1443ca9470614cead79faa to your computer and use it in GitHub Desktop.
Save jodyphelan/fb5b1d8a3a1443ca9470614cead79faa to your computer and use it in GitHub Desktop.
bedtools genomecov -ibam bam/por1_fastq.bam -bga | awk '$4==0' | bedtools intersect -a - -b ~/miniconda3/envs/dev/share/tbprofiler/tbdb.bed | bedtools subtract -a - -b test2.vcf
@jodyphelan
Copy link
Author

bedtools coverage -b bam/ERR027452.bam -a ~/miniconda3/envs/dev/share/tbprofiler/tbdb.bed -d | awk '$9=$7+$2' | tr ' ' '\t' | awk '$8<10'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment