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

Function to parse queries and apply to the GFF file #23

Open
lpantano opened this issue Jan 19, 2018 · 0 comments
Open

Function to parse queries and apply to the GFF file #23

lpantano opened this issue Jan 19, 2018 · 0 comments

Comments

@lpantano
Copy link
Contributor

The idea is to have an option shared by many functions called --query, that allows filtering of the GFF format for:

And the function that parse the query value should be here: https://github.com/miRTop/mirtop/blob/dev/mirtop/gff/query.py

The idea should be something like this:

mirtop counts -i GFF -o OUTFOLDER --query "Filter == PASS and Name~/let-7/"

That should get the GFF file, apply the query filters, and then do whatever counts function makes.

This issue can be resolved with a single function that work with the --query value and a line of the GFF file, given TRUE or FALSE, depending on the query.

Test unit should be implemented at https://github.com/miRTop/mirtop/blob/dev/test/test_functions.py

@lpantano lpantano added this to the v0.2.0 milestone Jan 19, 2018
@lpantano lpantano modified the milestones: v0.2.0, v0.3., v0.3.0 Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant