Skip to content

Commit

Permalink
fix extra-args
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyatt committed Nov 6, 2024
1 parent d821601 commit 1ebfc71
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/GATK_gCNVcaller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ main() {
if [ "$debug_fail_end" == 'true' ]; then exit 1; fi

# Upload output files
SECONDS=0
SECONDS=0
dx-upload-all-outputs --parallel
duration=$SECONDS
echo "Uploaded files in $(($duration / 60))m$(($duration % 60))s"
Expand Down Expand Up @@ -308,7 +308,14 @@ call_cnvs() {
mkdir -p out/GermlineCNVCaller/gCNV-dir
mv /home/dnanexus/in/gCNV-dir/$name-calls out/GermlineCNVCaller/gCNV-dir/
mv /home/dnanexus/in/gCNV-dir/$name-model out/GermlineCNVCaller/gCNV-dir/
dx-upload-all-outputs --parallel
SECONDS=0
dx upload -rp out/GermlineCNVCaller/gCNV-dir/$name-calls --path /home/dnanexus/inputs/gCNV-dir
dx upload -rp out/GermlineCNVCaller/gCNV-dir/$name-model --path /home/dnanexus/inputs/gCNV-dir
#dx-upload-all-outputs --parallel
#find "/home/dnanexus/out/demultiplexOutput/" -type f | xargs -P ${UPLOAD_THREADS} -n1 -I{} bash -c \
# "dx upload "$file" --path "$remote_path" --parents --brief"
duration=$SECONDS
echo "Uploaded files in $(($duration / 60))m$(($duration % 60))s"

}

Expand Down Expand Up @@ -336,6 +343,7 @@ set_off_subjobs() {
-iGATK_docker='$GATK_docker' \
-iGermlineCNVCaller_args='$GermlineCNVCaller_args' \
--instance-type $instance \
--extra-args='{\"priority\": \"high\"}' \
--name $job_name"
cnv_call_jobs+=($(eval $command))
done
Expand Down

0 comments on commit 1ebfc71

Please sign in to comment.