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

about bx.intervals.operations.join module #22

Open
pathkim opened this issue Sep 30, 2017 · 0 comments
Open

about bx.intervals.operations.join module #22

pathkim opened this issue Sep 30, 2017 · 0 comments

Comments

@pathkim
Copy link

pathkim commented Sep 30, 2017

Hello.
I am trying to join the genomic intervals of two datasets with bx.intervals.operations.join module.
Two datasets (f1, f2) have chromosome, start, end, and information columns.
My code is like below.
f1 = open( "HIVD1.txt", 'r' )
f2 = open( "HIVD2.txt", 'r' )
f1 = set(f1)
f2 = set(f2)
result = bx.intervals.operations.join.join( f1, f2, mincols=1, leftfill=True, rightfill=False )
result
It just returns <generator object join at 0x1069d2cd0>.
How can I get and see the result?

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

1 participant