Skip to content

Commit 1c65a82

Browse files
authored
Merge pull request #4 from jiaan-yu/master
Typo fixes
2 parents fb44a71 + 1f86a06 commit 1c65a82

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

vcf_utils/add_bam_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def create_mpileup_dict(mpileup):
8484
elif not args.normal_id:
8585
sys.exit('normal sample id is required for somatic vcf')
8686
elif not args.tumor_id:
87-
sys.exist('tumor sample id is required for somatic vcf')
87+
sys.exit('tumor sample id is required for somatic vcf')
8888
else:
8989
try:
9090
f = open(args.normal_mpileup, 'r')

vcf_utils/extract_strelka_germline_DP_AF.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import sys
1616
from variant import Variant
1717

18-
AF_HEADER_LINE='####INFO=<ID=AF,Number=A,Type=Float,Description="Allele \
18+
AF_HEADER_LINE='##FORMAT=<ID=AF,Number=A,Type=Float,Description="Allele \
1919
Frequency, for each ALT allele, in the same order as listed - Calculated By \
20-
Bioinformatics Dept">>\n'
20+
Bioinformatics Dept">\n'
2121

2222
parser = argparse.ArgumentParser(description="Calculate AF for strelka germline vcf")
2323
parser.add_argument("-i", dest="input", help="Input strelka germline vcf", required=True)

vcf_utils/extract_strelka_somatic_DP_AF.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
AD_HEADER_LINE='##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Extracted allelic \
2020
depths for the ref and alt alleles based on strelka recommendation \
21-
- Calculated By Bioinformatics Dept">>\n'
22-
AF_HEADER_LINE='####INFO=<ID=AF,Number=A,Type=Float,Description="Allele \
21+
- Calculated By Bioinformatics Dept">\n'
22+
AF_HEADER_LINE='##FORMAT=<ID=AF,Number=A,Type=Float,Description="Allele \
2323
Frequency, for each ALT allele, in the same order as listed - Calculated By \
24-
Bioinformatics Dept">>\n'
24+
Bioinformatics Dept">\n'
2525

2626
parser = argparse.ArgumentParser(description="Calculate AF for strelka somatic vcf")
2727
parser.add_argument("-i", dest="input", help="Input strelka somatic vcf", required=True)

0 commit comments

Comments
 (0)