Skip to content
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

GFA output #7

Open
ekg opened this issue Jan 3, 2019 · 1 comment
Open

GFA output #7

ekg opened this issue Jan 3, 2019 · 1 comment

Comments

@ekg
Copy link

ekg commented Jan 3, 2019

I'm interested in using splice graphs as reference systems in vg. It would be possible to use ChopStitch's output to do so directly if it were able to write GFA format directly. I see that there is already output in dot, so this may be easy to do. Is there anything more complex to consider than copying https://github.com/bcgsc/ChopStitch/blob/master/MakeSplicegraph.py#L339-L359 and modifying it to produce GFA instead of dot?

@hamzakhanvit
Copy link
Collaborator

Hi,

Yes, you can look at write_dot(). However, an easier way would be to look at FindSubcomponents.py , which takes in the output DOT file from MakeSplicegraph.py and formats the output to produce a splice subgraph file where each subgraph represents a splice graph for a single gene (Use -w). By default, it generates a file with mappings of putative exons to genes which could also be parsed to generate a GFA output. I basically wrote this script to modify the DOT output as per the requirement of different users. Please feel free to let me know if you have any other questions.

Cheers,
Hamza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants