Bismark icon indicating copy to clipboard operation
Bismark copied to clipboard

bismark failing

Open alyzas opened this issue 2 years ago • 3 comments

I have human WGBS data and would like to use bismark to align the data, however, I keep getting this error message: scaffolds/contigs/chromosomes frequently encountered errors with pre-sorting reads to individual chromosome files. These errors were caused by the operating system's limit. I re-run bismark using the the following command: bismark_methylation_extractor --gzip --paired-end --multicore $NSLOTS --scaffolds --buffer_size 10G --bedGraph --cytosine_report --genome_folder /data/ngsc4data/JE03JHU502/reference/hg38 ${samplename}_bismark.deduplicated.sam and get the same error. I am using 40G of memory and 24 cores. Thank you. Alyza

alyzas avatar Jul 11 '22 14:07 alyzas

The formatting of your command looks very funky to me, could you try to copy/paste the text you see on the screen and use ``` on either side? I am wondering if you pasted the command from a MS Word or PDF document, which might lead to formatting issues? The single most important option you will need is --scaffolds.

FelixKrueger avatar Jul 11 '22 15:07 FelixKrueger

I am not sure why the formatting is so strange, I copied it from my bash script. Here is again: bismark_methylation_extractor --gzip --paired-end --multicore $NSLOTS --scaffolds --buffer_size 10G --bedGraph --cytosine_report --genome_folder /data/ngsc4data/JE03JHU502/reference/hg38 ${samplename}_bismark.deduplicated.sam. Can I re-run with only the --scaffolds option?

alyzas avatar Jul 11 '22 17:07 alyzas

If the methylation has already worked, and completed, you should be able to move on to the bismark2bedGraph stage straight away:

bismark2bedGraph --gzip --scaffold -o output_CpG.cov CpG*samplename*txt

FelixKrueger avatar Jul 11 '22 19:07 FelixKrueger