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

Add a parameter to control whether convertToGFA.py outputs an edge and its dual #20

Merged
merged 3 commits into from
Apr 5, 2017

Conversation

mpre
Copy link
Contributor

@mpre mpre commented Mar 31, 2017

Hi,
this pull request adds a parameter (-s) to control whether convertToGFA.py outputs an edge and its dual in the GFA file.
I'm aware of this discussion and I chose to keep only the canonical edge (as defined by @rrwick) when the -s parameter is provided.
If -s is not provided the behaviour of the script is the same as before (e.g., it outputs both u+ -> v+ and v- -> u-).

This pull request also removes the custom argument parsing and uses argparse instead and adds a main function (hence it looks like the whole file has changed but I actually changed only a few lines).

@rchikhi
Copy link
Member

rchikhi commented Apr 5, 2017

terrific, thanks for the well-documented PR Marco.

@rchikhi rchikhi merged commit 3413da1 into GATB:master Apr 5, 2017
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

Successfully merging this pull request may close these issues.

2 participants