Closed gocougpullman closed 6 years ago
Hello everyone,
I got to the bottom of what was going on. My bam files were gzipped and apparently bismark_methylation_extractor isn't cool with that.
Thanks
I am glad this sorted itself out.
Just out of interest, did Bismark produce the bam.gz
file or did you gzip it yourself? If it came from Bismark then we might want to stop this from happening in the future. All the best, Felix
Thanks for the reply Felix,
Yes I gzipped the file myself. But I did so because the Bismark User guide says
A space-separated list of result files in Bismark format from which methylation information is extracted for every cytosine in the read. The files may be gzip compressed (ending in .gz).
On page 28.
Ah right, this must the be very old vanilla Bismark format prior to version 0.6. BAM files are already compressed and won't gain much (or anything?) from gzipping again. Sorry for the confusion.
That makes sense, Thanks for your help!
Simon
Hi,
I'm having issues. When I run bismark methylation extraction it keeps failing on me. The issue seems to be around this
Much of the information about the code I am running is posted below. Thank you for your help
This next block of code wasn't run on the cluster so the paths are different. I experienced the same thing when running this on the cluster, I just have been troubleshooting on my ubuntu machine because it's less time consuming to write scripts.
here is a sample of the *_bismark_bt2.bam.gz file
Here is a sample of my fastq file