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

update Dockerfile and Makefile for Canu version update. add parameter in Canu.wdl. #376

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eviewan
Copy link
Contributor

@eviewan eviewan commented Nov 23, 2022

updated Dockerfile and Makefile for Canu2.2 version update.
added "technology" parameter in Canu.wdl to specify nanopore vs pacbio sequencing method

Copy link
Collaborator

@SHuang-Broad SHuang-Broad left a comment

Choose a reason for hiding this comment

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

@SHuang-Broad to pick up here.

TAG2 = us.gcr.io/broad-dsp-lrma/$(IMAGE_NAME):latest
VERSION = 0.2.0

TAG1 = us.gcr.io/broad-dsp-lrma/lr-canu:$(VERSION)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to revert back to the old way.


build_no_cache:
docker build --no-cache -t $(TAG1) -t $(TAG2) .
docker build -t $(TAG1) -t $(TAG2) .
Copy link
Collaborator

Choose a reason for hiding this comment

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

check tabs and spaces

Int disk_size = 150 * ceil(size(reads, "GB"))

command <<<
set -euxo pipefail

canu -correct \
canu -correct corOutCoverage=~{corrected_coverage}\
Copy link
Collaborator

Choose a reason for hiding this comment

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

add space at then end of the line

-p ~{prefix} -d canu_correct_output \
genomeSize=~{genome_size}m \
genomeSize=~{genome_size}k \
Copy link
Collaborator

Choose a reason for hiding this comment

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

rename the variable to genome_sz_in_kb

Int disk_size = 50 * ceil(size(corrected_reads, "GB"))

command <<<
set -euxo pipefail

canu -trim \
-p ~{prefix} -d canu_trim_output \
genomeSize=~{genome_size}m \
genomeSize=~{genome_size}k \
Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto

Int disk_size = 50 * ceil(size(trimmed_reads, "GB"))

command <<<
set -euxo pipefail

canu -assemble \
-p ~{prefix} -d canu_assemble_output \
genomeSize=~{genome_size}m \
genomeSize=~{genome_size}k \
Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto

@SHuang-Broad SHuang-Broad marked this pull request as draft April 11, 2023 21:06
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.

None yet

3 participants