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

Added variant callers for benchmarking (resolves #97) #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fnothaft
Copy link
Contributor

Added:

  • FreeBayes
  • Platypus
  • 16GT
  • Strelka
  • Samtools Mpileup/BCFtools call

@fnothaft fnothaft force-pushed the issues/97-benchmarking-callers branch from 2929f96 to e1f5bf6 Compare August 14, 2017 08:34
@fnothaft
Copy link
Contributor Author

Jenkins, retest this please.

Copy link
Collaborator

@jvivian jvivian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fnothaft for adding all of these callers!

end_time = time.time()
log_runtime(job, start_time, end_time, 'fasta_generate_regions')

docker_parameters = ['--rm',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more DRY to have a base_docker_parameters as you're just extending to add --entrypoint.

@@ -2,6 +2,17 @@
import subprocess


def log_runtime(job, start, end, cmd):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the repetitiveness of having to call time.time() before and after every dockerCall along with this function, would this be better refactored as a decorator for dockerCall?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait 'til you see where I'm going with this in #101...

@jvivian
Copy link
Collaborator

jvivian commented Aug 14, 2017

@fnothaft — sadly you'll have to rebase since I merged #98

Added:

* FreeBayes
* Platypus
* 16GT
* Strelka (and Manta)
* Samtools Mpileup/BCFtools call

Also, ported over GATK3 HaplotypeCaller from toil-scripts.
@fnothaft fnothaft force-pushed the issues/97-benchmarking-callers branch from e1f5bf6 to ed454b0 Compare August 15, 2017 06:35
@fnothaft
Copy link
Contributor Author

Rebased. Consider this good to merge for now.

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

Successfully merging this pull request may close these issues.

2 participants