You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using modkit pileup to generate bedmethyl files for methylation analysis. I'm interested in understanding how haplotypes are handled in the output.
Specifically, I'd like to know:
Does modkit pileup generate haplotagged bedmethyl files by default? If so, is there a way to disable this and generate a single, non-haplotagged file?
If the output is haplotagged, how are unaligned fragments handled? Are they included in any of the output files or discarded?
My goal is to analyze all reads together, including unaligned fragments, without considering haplotypes. If modkit pileup doesn't currently support this, I'd be grateful for any suggestions or workarounds.
Thank you for your time and clarification!
The text was updated successfully, but these errors were encountered:
Does modkit pileup generate haplotagged bedmethyl files by default? If so, is there a way to disable this and generate a single, non-haplotagged file?
Modkit does not generate "haplotagged" the bedMethy files by default. There is a general way to partitioning reads in a modBAM by tag using the --partition-tag <TAG> flag. For haplotypes this is usually --partition-tag HP. When you use this option, you'll want the output to be a directory instead of a file. There is addition documentation online.
If the output is haplotagged, how are unaligned fragments handled? Are they included in any of the output files or discarded?
Do you mean "untagged" instead of "unaligned"? The untagged fragments are partitioned into an "ungrouped" bedMethyl file. Unaligned reads aren't used in pileup.
My goal is to analyze all reads together, including unaligned fragments, without considering haplotypes. If modkit pileup doesn't currently support this, I'd be grateful for any suggestions or workarounds.
If you want to have all of the reads together, simply omit the --partition-tag option, (i.e. use the default behavior). If you expect that you'll want the partitioned bedMethyls at some point, you could run pileup with --partiton-tag then modkit bedmethyl merge the results together so that you have the combined and separated tables.
I'm using modkit pileup to generate bedmethyl files for methylation analysis. I'm interested in understanding how haplotypes are handled in the output.
Specifically, I'd like to know:
My goal is to analyze all reads together, including unaligned fragments, without considering haplotypes. If modkit pileup doesn't currently support this, I'd be grateful for any suggestions or workarounds.
Thank you for your time and clarification!
The text was updated successfully, but these errors were encountered: