-
Notifications
You must be signed in to change notification settings - Fork 28
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
Custom resistance probes #137
Comments
Cc @martinghunt |
I'd guess that the file
The error because the second column is not in the expected format of If that's not the reason, then could you please share the input files so I can debug? |
@martinghunt could it be the deletions? thx |
deletions should be ok. Definitely a |
Stop codons are now supported with |
Sorry, how do you encode a deletion with *?. Is this amino, nucleotide or both? |
Typo sorry. I meant stop codons. I've edited the above comment. |
Am trying to create custom resistance probes using this command: "mykrobe variants make-probes -t gene1.txt -g refe/H37Rv4.gbk refe/H37Rv.fasta > probes4.gene.fa" but i get the error below. What might be the issue?
[mykrobe 2021-10-31T15:59:00 WARNING] Could not connect to database. Continuing without using genetic backgrounds
/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/Bio/GenBank/Scanner.py:215: BiopythonParserWarning: Over indented /inference="protein feature?
BiopythonParserWarning,
/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/Bio/GenBank/init.py:1267: BiopythonParserWarning: Couldn't parse feature location: 'motif:PROSITE:PS00599"'
"Couldn't parse feature location: %r" % location_line
Traceback (most recent call last):
File "/mnt/transient_data/conda/envs/mykrobe/bin/mykrobe", line 11, in
sys.exit(main())
File "/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/mykrobe/cli.py", line 8, in main
args.func(parser, args)
File "/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/mykrobe/parser.py", line 53, in run_subtool
run(parser, args)
File "/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/mykrobe/cmds/makeprobes.py", line 70, in run
gene, mutation_string, protein_coding_var
File "/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/mykrobe/annotation/genes/models.py", line 180, in get_variant_names
ref, start, alt = split_var_name(mutation)
File "/mnt/transient_data/conda/envs/mykrobe/lib/python3.6/site-packages/mykrobe/utils.py", line 29, in split_var_name
items = re.match(r"([A-Z]+)([-0-9]+)([A-Z/]+)", name, re.I).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
The text was updated successfully, but these errors were encountered: