-
Notifications
You must be signed in to change notification settings - Fork 25
Wrapped BTB algorithm for SPRAS integration #204
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
Conversation
finished testing the LocalNeighborhood. Moving to make the dockerfile
Need to update Docker image to v2 then pull Docker image. Once the new image is in SPRAS, the final checks should work.
BTB should be ready to be implemented into SPRAS.
sumedhars
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- all tests passed
- btb ran successfully
| for line in edge_file: | ||
| line = line.strip() | ||
| line = line.split('\t') | ||
| line = line[2] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be colllapsed into:
_ = line.strip().split('\t')[2]
instead of:
line = line.strip() line = line.split('\t') line = line[2]
| line = line.split('\t') | ||
| line = line[2] | ||
|
|
||
| except Exception as err: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe raise an IndexError instead? can say that edge file isnt formatted correctly/etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request deletes several of the LocalNeighborhood files. Can you please restore those?
|
[closed in favor of #250] |
Finish wrapping BowTieBuilder pathway reconstruction algorithm into SPRAS environment.
BTB connects multiple source nodes to multiple target nodes in a "BowTie" shape. It can consider weighted edges and works on both directed and undirected graphs.