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
This is basically perbase -z output without header and chromosomes sorted by lexographically.
This would allow to create bigwig files relatively easily. (naive sorting takes quite a while instead of reading the reads by chromosome in lexographical order).
I'll looking into making this more natively supported. There is also the --bed-format option which, with -z should make the output more BED like. The output order is currently dictated by the BAM header, if the input BAM is sorted lexographically then so will the output of perbase (not ideal, I'm just noting it).
Options to make this work would be:
Add a "lexographical sort" flag that sorts the BAM header before processing, this could be fine...but I could see it still resulting in slightly different sort orders than what is needed downstream.
Add support for outputing in the same order as an input BED file or sequence dictionary. This probably provides the most flexibility / explicitness
Add an optional input that is just a list of chromosome names that represent the order things should be output. meh
Support bedGraph output in only-depth:
This is basically
perbase -z
output without header and chromosomes sorted by lexographically.This would allow to create bigwig files relatively easily. (naive sorting takes quite a while instead of reading the reads by chromosome in lexographical order).
bedGraph format:
http://genome.ucsc.edu/goldenPath/help/bedgraph.html
The text was updated successfully, but these errors were encountered: