Skip to content

Commit

Permalink
Merge branch 'develop' into km-doc-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiernan authored Dec 6, 2023
2 parents f7faeb7 + 3ecd64c commit 6c571f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions pipelines/skylab/build_indices/BuildIndices.changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.0.0
2023-12-06 (Date of Last Commit)

* Updated BuildIndices to use bwa-mem2

# 2.2.1
2023-11-17 (Date of Last Commit)
* Updated the modify-gtf script to make it compatible with REFSEQ and GENCODE GTFs
Expand Down
9 changes: 4 additions & 5 deletions pipelines/skylab/build_indices/BuildIndices.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workflow BuildIndices {
}

# version of this pipeline
String pipeline_version = "2.2.1"
String pipeline_version = "3.0.0"


parameter_meta {
Expand Down Expand Up @@ -166,7 +166,7 @@ task BuildBWAreference {
String organism
}

String reference_name = "bwa0.7.17-~{organism}-~{genome_source}-build-~{genome_build}"
String reference_name = "bwa-mem2-2.2.1-~{organism}-~{genome_source}-build-~{genome_build}"

command <<<
mkdir genome
Expand All @@ -178,12 +178,12 @@ String reference_name = "bwa0.7.17-~{organism}-~{genome_source}-build-~{genome_b
else
mv ~{genome_fa} genome/genome.fa
fi
bwa index genome/genome.fa
bwa-mem2 index genome/genome.fa
tar --dereference -cvf - genome/ > ~{reference_name}.tar
>>>

runtime {
docker: "us.gcr.io/broad-gotc-prod/bwa:1.0.0-0.7.17-1660770463"
docker: "us.gcr.io/broad-gotc-prod/samtools-bwa-mem-2:1.0.0-2.2.1_x64-linux-1685469504"
memory: "96GB"
disks: "local-disk 100 HDD"
disk: "100 GB" # TES
Expand All @@ -195,4 +195,3 @@ String reference_name = "bwa0.7.17-~{organism}-~{genome_source}-build-~{genome_b
}
}


0 comments on commit 6c571f4

Please sign in to comment.