Best Tools for analyzing Bisulfite sequencing bam files?
1
0
Entering edit mode
8.1 years ago
Jon17 ▴ 20

Once you have aligned bam file for Bisulfite sequencing what are the top tools for analyzing the alignments?

bismark_methylation_extractor is one, what else?

BS-Seq • 2.1k views
ADD COMMENT
0
Entering edit mode
8.1 years ago

I've written a methylation extractor, bam2methylation, which I don't claim to be a top tool, just a tool.

ADD COMMENT
0
Entering edit mode

Thankyou, i'm downloading it now.

ADD REPLY
0
Entering edit mode

Is it throwing an error?

bioinformatics-cafe/bam2methylation.py --input sample1.proper.bam --ref /data1/nimblegen-pipeline/nimblegensoftware/config/epi-reference/hg19_chrY_PARs_masked.fa

Methylation file: /tmp/tmp_bam2methylation_vUMnk8/read-F128.mpileup.txt samtools view -u -F128 sample1.proper.bam | samtools mpileup -d100000000 -Q0 -B -f /data1/nimblegen-pipeline/nimblegen-software/config/epi-reference/hg19_chrY_PARs_masked.fa - | sort -k1,1 -s Methylation file: /tmp/tmp_bam2methylation_vUMnk8/read-f128.mpileup.txt samtools view -u -f128 sample1.proper.bam | samtools mpileup -d100000000 -Q0 -B -f /data1/nimblegen-pipeline/nimblegen-software/config/epi-reference/hg19_chrY_PARs_masked.fa - | sort -k1,1 -s sort -m -s -k1,1 -k2,2n -k3,3n /tmp/tmp_bam2methylation_vUMnk8/read-F128.mpileup.txt /tmp/tmp_bam2methylation_vUMnk8/read-f128.mpileup.txt | bedtools groupby -g 1,2,3 -c 5,6,7 -o sum,sum,distinct | awk '{if($4==0 && $5==0){pct= 0} else {pct= 100*($4/$5)} printf("%s
%s %s %0.2f %s %s %s\n", $1, $2, $3, pct, $4, $5, $6)}'

ADD REPLY
0
Entering edit mode

It looks fine. It's printing what is being executed.

ADD REPLY

Login before adding your answer.

Traffic: 1620 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6