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

bedtools intersect options #3

Closed
adomingues opened this issue Dec 13, 2017 · 2 comments
Closed

bedtools intersect options #3

adomingues opened this issue Dec 13, 2017 · 2 comments

Comments

@adomingues
Copy link

Feature suggestion as discussed via email with credits to @asntech .

It seems from looking at the source code that the genomic regions overlap is calculated using pybedtools intersect default settings which counts as intersection any regions that overlap by at least 1 bp. Could please consider

  1. adding a note to the Docs, and/or
  2. consider adding an option to, for instance, consider an overlap only regions matching 100 %? The perfect solution would be to an option, where user will be able to list any of the arguments available for bedtool’s intersect command. Something like this: --bedtool-options f=0.8,r=true,etc

The default is perfectly sensible, but it might lead to unexpected results for those not aware of it.

@asntech
Copy link
Owner

asntech commented Dec 16, 2017

Thanks @adomingues for the recomendation. Please try the latest release on GitHub now.

@asntech
Copy link
Owner

asntech commented Dec 16, 2017

This option is now available in version v0.6.1 through pip

@asntech asntech closed this as completed Dec 20, 2017
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

2 participants