-
Notifications
You must be signed in to change notification settings - Fork 4
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
CS might add links where none are given from odgi bin
#48
Comments
I agree this is a bug and an issue. I don't really have ideas for where this would come from. There's a number of places like |
This issue doesn't seem to crop up in the runB1phi1 test data. What is the " |
Looks like Currently output:
Based on the GFA:
We can change the Node labels to be less confusing (matching the bin id).
Put this way we can see the links reflected in
[4,9] is skipped since they have no content in the next node. The "adjacent connector" is here because Nodes 5 and 9 were merged: " After looking at this for a long time, I'm not confident that this is an error in the output. It looks correct to me. There definitely are errors in the ordering of SARS-CoV-2 Link Columns, but this file does not appear to have those same errors. I've posted v15 sparse CS outputs in this drive link for reference: [link] |
Taking a look at this one |
From Dmytro: I think add_ajacent_connector_colum is redundant for the component-component linking. The only useful place for this routine is to add the incoming/outgoing link to the very first/last component in the components natural order. (edited) actually, this loop should do the job:
with link participants == component path_ids or some more careful work should be done to find the "loosen" paths and connect them to the "outer space". |
Test data set:
svg_opg1_issue_12052020.zip
Command lines used:
In the resulting JSON output, from e.g. line 182, I can observe the following:
But if you take a look at the
odgi bin
output, with including-g
option, only 2 links for participant number 3 aka6
are listed. No links at all should be present for the first two paths. So I am wondering where these links should come from? Am I missing something? @josiahseamanThe text was updated successfully, but these errors were encountered: