Skip to content

Commit

Permalink
Test_10: Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRico committed Oct 21, 2024
1 parent 758b188 commit 1615d8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pipeline/PharmCAT_Pipeline.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ task pipeline_task {
# done < $list

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
if [[ $(ls wf/data/*.vcf.* 2>/dev/null | wc -l) -gt 0 ]]; then
echo "Processing all individual VCF files in the directory: wf/data/" >> $log_file

# Criar uma lista com todos os arquivos VCF no diretório
VCFs_list="files/VCFs_list.txt"
ls files/input_directory/*.vcf.* > $VCFs_list
VCFs_list="wf/VCFs_list.txt"
ls wf/data/*.vcf.* > $VCFs_list

# Processar cada arquivo VCF individualmente
while read -r vcf_file; do
Expand Down

0 comments on commit 1615d8c

Please sign in to comment.