File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ def create_mpileup_dict(mpileup):
84
84
elif not args .normal_id :
85
85
sys .exit ('normal sample id is required for somatic vcf' )
86
86
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' )
88
88
else :
89
89
try :
90
90
f = open (args .normal_mpileup , 'r' )
Original file line number Diff line number Diff line change 15
15
import sys
16
16
from variant import Variant
17
17
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 \
19
19
Frequency, for each ALT allele, in the same order as listed - Calculated By \
20
- Bioinformatics Dept">> \n '
20
+ Bioinformatics Dept">\n '
21
21
22
22
parser = argparse .ArgumentParser (description = "Calculate AF for strelka germline vcf" )
23
23
parser .add_argument ("-i" , dest = "input" , help = "Input strelka germline vcf" , required = True )
Original file line number Diff line number Diff line change 18
18
19
19
AD_HEADER_LINE = '##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Extracted allelic \
20
20
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 \
23
23
Frequency, for each ALT allele, in the same order as listed - Calculated By \
24
- Bioinformatics Dept">> \n '
24
+ Bioinformatics Dept">\n '
25
25
26
26
parser = argparse .ArgumentParser (description = "Calculate AF for strelka somatic vcf" )
27
27
parser .add_argument ("-i" , dest = "input" , help = "Input strelka somatic vcf" , required = True )
You can’t perform that action at this time.
0 commit comments