Closed Danderson123 closed 3 weeks ago
After a bit of digging, found that it makes assumptions about the format of the names and tries splitting on -
. If you remove the -
's from the names then it works. I ran sed 's/-/X/g'
on ncbi_converted.fa
and ncbi_converted.json
and then mykrobe ran ok.
Is that ok for a workaround? Can imagine trying to get the code to handle your original input files could be pretty fiddly.
Ah right ok! Thanks for looking into it, I can work around that. I was just using the output of ariba prepareref directly to get the gene names but I can modify them.
Hey Martin,
I have hit the following error using Mykrobe v0.13.0 predict on an E. coli sample with custom probes. The command, the error I hit and a link to the data I am using are below:
singularity run /home/daniel/Documents/GitHub/thesis_figures/AMR_genotyping_with_mykrobe/mykrobe/mykrobe.img predict --ont -s GCA_027944875.1_ASM2794487v1_genomic -t 6 -S custom --custom_probe_set_path /home/daniel/Documents/GitHub/thesis_figures/AMR_genotyping_with_mykrobe/ncbi_converted.fa --custom_variant_to_resistance_json /home/daniel/Documents/GitHub/thesis_figures/AMR_genotyping_with_mykrobe/ncbi_converted.json -i /home/daniel/Documents/GitHub/thesis_figures/AMR_genotyping_with_resfinder/nanopore_reads/SRR23044204_1.fastq -O json -o /home/daniel/Documents/GitHub/thesis_figures/AMR_genotyping_with_mykrobe/read_results/GCA_027944875.1_ASM2794487v1_genomic/mykrobe_results.json
https://drive.google.com/file/d/1stFVSyIquiC8eQvQD7ea5Kaqmza9rR4N/view?usp=drive_link