KCCG / ClinSV

Robust detection of clinically relevant structural and copy number variation from whole genome sequencing data
Other
61 stars 8 forks source link

clinsv :: incorrect perl - shell escape #46

Open EricDeveaud opened 1 year ago

EricDeveaud commented 1 year ago

Hello,

playing with version 1.1.dev I nioticed that commit https://github.com/KCCG/ClinSV/commit/c20c21a3c604c7b484daf6b66223c994dfbc458e seems to have wrong perl <-> shell syntax escaping

seems to me that line should be.

print OUT "[ -z \"\${readLArr[$outStemSC]}\" ] && readLArr[$outStemSC]=\$(samtools view $projectDir/alignments/$cSample/$cSample.bam chr1:1000000-1100000 | cut -f 10 | awk '{ print length}' | sort -rn | awk '(NR==1){print}' )\n"; instead

as readLArr is an aray.

what do you think ?

Eric