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

Add FreeBayes bamleftalign #391

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Add FreeBayes bamleftalign #391

merged 2 commits into from
Dec 9, 2016

Conversation

ihodes
Copy link
Member

@ihodes ihodes commented Dec 9, 2016

fixes #390

(doesn't add the variant caller, to the workflow but all the infrastructure is there)

let reference_fasta =
Machine.get_reference_genome run_with reference_build
|> Reference_genome.fasta in
let name = sprintf "FreeBayes.bamleftalign %s" bam#product#path in
Copy link
Member

Choose a reason for hiding this comment

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

Maybe a Filename.basename would make the name more readable?

Copy link
Member

@smondet smondet left a comment

Choose a reason for hiding this comment

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

LGTM % nitpicks

let freebayes =
Git_installable_tool.make
Machine.Tool.Default.freebayes
~repository:"git://github.com/ekg/freebayes.git"
Copy link
Member

Choose a reason for hiding this comment

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

Maybe the https:// version is more portable (against firewalls & co).

@@ -171,6 +171,11 @@ module type Bioinformatics_base = sig
[ `Bed ] repr ->
[ `Vcf ] repr

val bam_left_align:
Copy link
Member

Choose a reason for hiding this comment

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

Here (in Semantics), I like adding doc-comments progressively for new tools.

@@ -5,7 +5,7 @@
FROM hammerlab/ketrew-server
# Installing easy Biokepi dependencies:
RUN sudo apt-get update
RUN sudo apt-get install --yes cmake r-base tcsh libx11-dev libfreetype6-dev pkg-config wget gawk graphviz xvfb
RUN sudo apt-get install --yes cmake r-base tcsh libx11-dev libfreetype6-dev pkg-config wget gawk graphviz xvfb git
Copy link
Member

Choose a reason for hiding this comment

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

Can you add the corresponding line in tools/docker/README.md?

@ihodes
Copy link
Member Author

ihodes commented Dec 9, 2016

@smondet back to you, thanks for the review!

Copy link
Member

@smondet smondet left a comment

Choose a reason for hiding this comment

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

👍

@smondet smondet merged commit 7fa8d55 into master Dec 9, 2016
smondet added a commit that referenced this pull request Dec 9, 2016
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.

Add FreeBayes
2 participants