-
Notifications
You must be signed in to change notification settings - Fork 7
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
Remove dockercall (resolves #68) #78
base: master
Are you sure you want to change the base?
Conversation
Now in core Toil (>= 3.5.0)
Fix missing subprocess prefix for some check_call / check_output calls
Some PEP adjustments
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.
LGTM! Dropped two comments (no changes needed) inline. Thanks for doing this change, @jvivian!
@@ -114,6 +114,7 @@ def run_bwakit(job, config, sort=True, trim=False, mark_secondary=False): | |||
:rtype: str | |||
""" | |||
work_dir = job.fileStore.getLocalTempDir() | |||
rg = None |
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.
Why'd we need this change here?
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.
The if
/elif
tree that contains assignments to rg
doesn't have an else
, so pycharm flags it as possibly undefined variable. We can leave this assigned to None
or change the final conditional to else
.
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.
SGTM; thanks, was just curious.
'-e', 'JAVA_OPTS=-Djava.io.tmpdir=/data/ -Xmx{}'.format(job.memory)] | ||
dockerCall(job=job, workDir=work_dir, | ||
parameters=command, | ||
tool='jpfeil/oncotator:1.9--8fffc356981862d50cfacd711b753700b886b605', |
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.
We should open a ticket to move this image into cgl-docker-lib.
There's some repetition in the job functions that use @fnothaft — In spark.py I added the |
No, that looks correct to me. I think I have that exact fix sitting on a branch somewhere. Anywho, if it winds up causing an issue, I'll back it out when I'm retesting these soon. |
@fnothaft — Only failing test is sparktest due to a service deadlock. I don't have much experience with that if you're able to take a look. If you don't have the bandwidth let me know! |
@jvivian mind if I take a look next week? I'm slammed today. |
@fnothaft — no problem, I don't think there's any rush on this. |
@fnothaft — We're going to make a new stable release for toil-lib after this is merged which we'll need by the end of the week, so let me know if you can't take a look before then. |
@jvivian sounds good; I will give it a looksee tonight. |
Sorry for the delay; looking at the service deadlock now. |
Thanks mate! |
No prob; sorry for the delay; this is a crazy week. BTW, I am getting test failures due to a 403 error when downloading s3://cgl-pipeline-inputs/exome/ci/chr6.normal.bam which is needed for the tests. I don't think this file is accessible to folks outside of UCSC. |
Also, looks good on my side:
:p Let me look at the Jenkins logs and see if I can divine what is failing. |
@benedictpaten — You're most familiar with the service code if you're able to take a quick look at the jenkins log. |
@benedictpaten — Any chance you can take a look at this? |
@jvivian the deadlock fix has been merged into Toil so this should be unblocked |
@cket the tests here fail due to a bucket permission problem. The relevant S3 path is |
@fnothaft I just gave proper permissions to the toil-dev account. |
No description provided.