Sydney-Informatics-Hub / Fastq-to-BAM

Optimised pipeline to process whole genome sequence data from fastq to BAM on NCI Gadi
GNU General Public License v3.0
20 stars 7 forks source link

BQSR Recalibration Make Input Only Processes Normal Sample Files #18

Closed DarioS closed 2 years ago

DarioS commented 2 years ago

Shouldn't all BAM files be recalibrated? It looks like a bad copy and paste from the germline variant pipeline.

# Collect sample IDs from samples.config
# Only collect IDs for germline variant calling (labids ending in -B or -N)
while read -r sampleid labid seq_center library; do
        if [[ ! ${sampleid} =~ ^#.*$ && ! ${labid} =~ -T.*$ && ! ${labid} =~ -P.*$ && ! ${labid} =~ -M.*$ ]]; then

Therefore, the nested tumour code segement will never be executed because any disease samples were previously excluded.

else
  samples_t+=("${labid}")
  group_input=${t_input}
fi
calizilla commented 2 years ago

Thanks for pointing out this Dario, all fixed now.