Skip to content

Commit

Permalink
update to gatk4.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bshifaw committed Jan 23, 2018
1 parent 0020f40 commit e7d6b0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions joint-discovery-gatk4.hg38.wgs.inputs.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
"JointGenotyping.SNPGatherTranches.mem_size": "7 GB",

"##_COMMENT8": "DISK SIZE ALLOCATION",
"JointGenotyping.small_disk": 11,
"JointGenotyping.medium_disk": 160,
"JointGenotyping.huge_disk": 20,
"JointGenotyping.small_disk": 100,
"JointGenotyping.medium_disk": 200,
"JointGenotyping.huge_disk": 300,

"##_COMMENT9": "PREEMPTIBLES",
"JointGenotyping.FinalGatherVcf.preemptibles": 5,
Expand Down
10 changes: 6 additions & 4 deletions joint-discovery-gatk4.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -697,11 +697,12 @@ task GatherTranches {
echo 'Could not copy all the tranches from the cloud' && exit 1
fi

cat ${input_fofn} | rev | cut -d '/' -f 1 | rev | awk '{print "tranches/" $1}' > inputs.list
#cat ${input_fofn} | rev | cut -d '/' -f 1 | rev | awk '{print "tranches/" $1}' > inputs.list #.list has changed to .args for gatk4, but will change back to .list soon
cat ${input_fofn} | rev | cut -d '/' -f 1 | rev | awk '{print "tranches/" $1}' > inputs.args

${gatk_path} --java-options "${java_opt}" \
GatherTranches \
--input inputs.list \
--input inputs.args \
--output ${output_filename}
>>>
runtime {
Expand Down Expand Up @@ -790,14 +791,15 @@ task GatherVcfs {
set -e

# Now using NIO to localize the vcfs but the input file must have a ".list" extension
mv ${input_vcfs_fofn} inputs.list
#mv ${input_vcfs_fofn} inputs.list #.list has changed to .args for gatk4, but will change back to .list soon
mv ${input_vcfs_fofn} inputs.args

# ignoreSafetyChecks make a big performance difference so we include it in our invocation
${gatk_path} --java-options "${java_opt}" \
GatherVcfsCloud \
--ignore-safety-checks \
--gather-type BLOCK \
--input inputs.list \
--input inputs.args \
--output ${output_vcf_name}

${gatk_path} --java-options "-Xmx6g -Xms6g" \
Expand Down

0 comments on commit e7d6b0d

Please sign in to comment.