Skip to content

Commit

Permalink
Clean up manifest file creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbggrant committed Aug 26, 2024
1 parent d742d38 commit b75cd26
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/variantstore/wdl/GvsExtractCallset.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version 1.0

import "GvsUtils.wdl" as Utils

# A comment?!?
# A comment
workflow GvsExtractCallset {
input {
Expand Down Expand Up @@ -550,10 +550,7 @@ task CreateManifestAndOptionallyCopyOutputs {
OUTPUT_FILE_INDEX_DEST=$LOCAL_VCF_INDEX
fi

# Parent Task will collect manifest lines and create a joined file
# Currently, the schema is `[interval_number], [output_file_location], [output_file_size_bytes], [output_file_index_location], [output_file_size_bytes]`
echo ${interval_indices[$i]},${OUTPUT_FILE_DEST},${output_vcf_bytes[$i]},${OUTPUT_FILE_INDEX_DEST},${output_vcf_index_bytes[$i]}
echo ${interval_indices[$i]},${OUTPUT_FILE_DEST},${output_vcf_bytes[$i]},${OUTPUT_FILE_INDEX_DEST},${output_vcf_index_bytes[$i]} >> manifest.txt
echo ${interval_indices[$i]},${OUTPUT_FILE_DEST},${output_vcf_bytes[$i]},${OUTPUT_FILE_INDEX_DEST},${output_vcf_index_bytes[$i]} >> manifest_lines.txt

done;

Expand All @@ -565,6 +562,7 @@ task CreateManifestAndOptionallyCopyOutputs {
fi
>>>
output {
File manifest_lines = "manifest_lines.txt"
File manifest = "manifest.txt"
}

Expand Down

0 comments on commit b75cd26

Please sign in to comment.