klebgenomics / Kaptive

GNU General Public License v3.0
43 stars 21 forks source link

BiopythonWarning: Partial codon, len(sequence) not a multiple of three #17

Closed abrozzi closed 6 months ago

abrozzi commented 3 years ago

Dears,

using this:

python /home/Kaptive/kaptive.py -a GCF_001373075.1_PRJEB8210_assembly_1_genomic.fna.gz -k /home/Kaptive/reference_database/Klebsiella_k_locus_variant_reference.gbk -o /home/Klebsiella/kout

Got this

/home//.local/lib/python3.6/site-packages/Bio/Seq.py:2338: BiopythonWarning: Partial codon, len(sequence) not a multiple of three. Explicitly trim the sequence or add trailing N before translation. This may become an error in future.
  BiopythonWarning,
GCF_001373075.1_PRJEB8210_assembly_1_genomic: KL57-1-*

Genome sequence used in this issue is available to download at: https://www.ncbi.nlm.nih.gov/assembly/GCF_001373075.1,GCF_001373075.1/?&utm_source=gquery

tomdstanton commented 6 months ago

These warnings are now captured #28