Skip to content

Commit e29d42f

Browse files
author
nicolaasuni
committed
Reorder parameters
1 parent a996285 commit e29d42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/tools/vcfnorm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ cat "${REFERENCE_GENOME_FASTA_FILE}" | sed 's/>chrM/>MT/g' | sed 's/>chr/>/g' >
3232
vt index "${VCF_INPUT_FILE}"
3333

3434
# Decompose multiallelic variants into biallelic variants
35-
vt decompose -s "${VCF_INPUT_FILE}" -o decomposed.vcf
35+
vt decompose -s -o decomposed.vcf "${VCF_INPUT_FILE}"
3636

3737
# Normalize variants (https://academic.oup.com/bioinformatics/article/31/13/2202/196142)
38-
vt normalize decomposed.vcf -m -r genome.fa -o "${VCF_OUTPUT_NAME}.vcf"
38+
vt normalize -m -r genome.fa -o "${VCF_OUTPUT_NAME}.vcf" decomposed.vcf
3939

4040
# Remove temporary file
4141
rm -f decomposed.vcf

0 commit comments

Comments
 (0)