-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odgi heaps for subsets of samples #505
Comments
Hi @mb47, this is possible with the following option: -b[FILE], --bed-targets=[FILE] BED file over path space of the graph,
describing a subset of the graph to
consider. You can use odgi heaps -i graph.og -b <(odgi paths -i graph.og -Ll | grep ... | awk -v OFS='\t' '{print($1,$2-1,$3)}') |
Hi Andrea, thanks for pointing this out, I never saw this option. I have tried this and for some reason I am getting an empty output file from odgi heaps (no error messages). I tried this with my own data and also the example data that ships with the odgi distribution. Perhaps a bug? Would be grateful if you could check this. Here is what I tried with your example data:
The output file (test.heaps.txt) only contains a header. I am running odgi v0.8.2-0-g8715c55 from bioconda. many thanks |
That's a problem with |
Great - works like a charm now! Many thanks. |
Hi,
I would like to run odgi heaps on various subsets of samples in my graph, as opposed to running it for the full set of samples -- is this possible without having to generate new graphs altogether?
thanks
Micha
The text was updated successfully, but these errors were encountered: