Skip to content

Commit

Permalink
Test_4: Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRico committed Oct 19, 2024
1 parent d0c95b7 commit 49e9881
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pipeline/PharmCAT_Pipeline.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,15 @@ task pipeline_task {
elif [[ -z "~{vcf_file}" ]]; then
echo "Processing all individual VCF files in the directory" >> $log_file

ls files/VCFs_inputs/*.vcf.* >> $VCFs_list # Create list with all vcf in the directory

# # Run all vcf files in the diretory individually
# for vcf_file in $(cat $VCFs_list); do
# echo "Processing individual VCF file: $vcf_file" >> $log_file
# cmd="pharmcat_pipeline $vcf_file $args"
# echo "Running command: $cmd" >> $log_file
# eval $cmd
# done
ls files/input_directory/*.vcf.* >> $VCFs_list # Create list with all vcf in the directory

# Run all vcf files in the diretory individually
for vcf_file in $(cat $VCFs_list); do
echo "Processing individual VCF file: $vcf_file" >> $log_file
cmd="pharmcat_pipeline $vcf_file $args"
echo "Running command: $cmd" >> $log_file
eval $cmd
done

else
echo "No VCF or list of VCFs provided. Exiting." >> $log_file
Expand Down

0 comments on commit 49e9881

Please sign in to comment.