Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Commit afbcd89

Browse files
committed
enhance annotation
1 parent 71eaaca commit afbcd89

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/QC.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class QC {
1313
// Run bcftools on vcf file
1414
static def bcftools(vcf) {
1515
"""
16-
bcftools stats ${vcf} > ${vcf.baseName}.bcf.tools.stats.out
16+
bcftools stats ${vcf} > ${vcf.simpleName}.bcf.tools.stats.out
1717
"""
1818
}
1919

@@ -30,22 +30,22 @@ class QC {
3030
vcftools \
3131
--gzvcf ${vcf} \
3232
--relatedness2 \
33-
--out ${vcf.baseName}
33+
--out ${vcf.simpleName}
3434
3535
vcftools \
3636
--gzvcf ${vcf} \
3737
--TsTv-by-count \
38-
--out ${vcf.baseName}
38+
--out ${vcf.simpleName}
3939
4040
vcftools \
4141
--gzvcf ${vcf} \
4242
--TsTv-by-qual \
43-
--out ${vcf.baseName}
43+
--out ${vcf.simpleName}
4444
4545
vcftools \
4646
--gzvcf ${vcf} \
4747
--FILTER-summary \
48-
--out ${vcf.baseName}
48+
--out ${vcf.simpleName}
4949
"""
5050
}
5151

0 commit comments

Comments
 (0)