Skip to content

Commit

Permalink
Test_9: Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRico committed Oct 21, 2024
1 parent 7b4fcc2 commit 758b188
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pipeline/PharmCAT_Pipeline.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,6 @@ task pipeline_task {
# eval $cmd
# done < $list

# else
# echo "No VCF or list of VCFs provided or found in directory. Exiting." >> $log_file
# exit 1
# fi

elif [[ -z "~{vcf_file}" ]]; then
if [[ $(ls files/input_directory/*.vcf.* 2>/dev/null | wc -l) -gt 0 ]]; then
echo "Processing all individual VCF files in the directory: files/input_directory/" >> $log_file
Expand All @@ -316,6 +311,12 @@ task pipeline_task {
exit 1
fi

else
echo "No VCF or list of VCFs provided or found in directory. Exiting." >> $log_file
exit 1
fi


# Run the command
echo "Pharmcat_pipeline finished" >> $log_file

Expand Down

0 comments on commit 758b188

Please sign in to comment.