Skip to content

Typo fixes #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vcf_utils/add_bam_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def create_mpileup_dict(mpileup):
elif not args.normal_id:
sys.exit('normal sample id is required for somatic vcf')
elif not args.tumor_id:
sys.exist('tumor sample id is required for somatic vcf')
sys.exit('tumor sample id is required for somatic vcf')
else:
try:
f = open(args.normal_mpileup, 'r')
Expand Down
4 changes: 2 additions & 2 deletions vcf_utils/extract_strelka_germline_DP_AF.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
import sys
from variant import Variant

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

parser = argparse.ArgumentParser(description="Calculate AF for strelka germline vcf")
parser.add_argument("-i", dest="input", help="Input strelka germline vcf", required=True)
Expand Down
6 changes: 3 additions & 3 deletions vcf_utils/extract_strelka_somatic_DP_AF.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

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

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