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

Possible to specify a genomic interval? #58

Closed
andreaswallberg opened this issue Dec 19, 2019 · 10 comments
Closed

Possible to specify a genomic interval? #58

andreaswallberg opened this issue Dec 19, 2019 · 10 comments
Labels
enhancement New feature or request

Comments

@andreaswallberg
Copy link

Dear @hasindu2008,

This software looks great! In Nanopolish, it is possible to specify an arbitrary genomic region/interval to scan using the "-w" flag, e.g.: -w ctg1:1-100000

Is it possible to accomplish something similar in f5c?

@hasindu2008
Copy link
Owner

That seems to be a newly introduced option in nanopolish or I missed it when writing f5c. I will soon implement this feature. Thanks for reporting.

@hasindu2008
Copy link
Owner

Hi @andreaswallberg

I implemented the function of "-w" to f5c. You can get this feature in the latest commit of the dev branch or the compiled binaries attached below. Give it a try and let me know.

f5c-v0.3-beta-4-ge02278d-binaries.tar.gz

@andreaswallberg
Copy link
Author

Hi @hasindu2008 !

Sorry for the long delay. Thanks for implementing this! Just a quick question: can I specify more than one interval after a "-w" parameter, or pass several the "-w" parameter several times?

Cheers!

@hasindu2008
Copy link
Owner

At the moment such a feature to specify multiple regions is not yet implemented in f5c. Is such a feature available in Nanopolish?

@andreaswallberg
Copy link
Author

Hi again!

We will look into what Nanopolish does.

My thinking is that it may help reduce overhead loading times if whatever general resources such as the genome sequence is read only once, after which the program can loop over many intervals, instead of having a bash loop to read everything over and over again.

@hasindu2008 hasindu2008 added the enhancement New feature or request label Feb 11, 2020
@kpalin
Copy link

kpalin commented Oct 30, 2020

Many of the short command line options don't work and the documentation is outdated. But big thanks for the "--window" option and I looking forward for release of the "--meth-model" option

@hasindu2008
Copy link
Owner

Hi @kpalin

Which f5c version are you using?

@kpalin
Copy link

kpalin commented Oct 30, 2020

v0.4 from Conda.

@hasindu2008
Copy link
Owner

@kpalin
Could you update now to the latest version 0.5 (now available in conda as well)? The documentation is compatible with this version. If you find any options that are still not working/outdated please let me know.

--meth-model is available in this version as an experimental feature. Give it a try and let me know if you encounter an issue.

@hasindu2008
Copy link
Owner

I will close this issue for now but please reopen if you have more questions.

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

No branches or pull requests

3 participants