Closed ohickl closed 4 months ago
Hi, thanks for the great tool!
I noticed that pyrodigal would still output translations of sequences with trailing N, despite setting mask=True. Is this intended? Setup:
N
mask=True
... gene_finder = pyrodigal.GeneFinder(meta=True, mask=True, min_mask=0) ... for id, seq in zip(headers, sequences): genes = gene_finder.find_genes(seq) predictions.append((id, genes)) ... with gzip.open(output_file, "wt") as f: for contig_id, genes in predictions: genes.write_translations(f, sequence_id=contig_id, include_stop=False) ...
Tested with e.g. https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_902164675.1.
Or am I maybe running it wrong?
Best
Oskar
Hi Oskar, this was totally a bug inside the masking code, I will push a patch.
Fixed in v3.4.0 👍
v3.4.0
Great, thanks!
Hi, thanks for the great tool!
I noticed that pyrodigal would still output translations of sequences with trailing
N
, despite settingmask=True
. Is this intended? Setup:Tested with e.g. https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_902164675.1.
Or am I maybe running it wrong?
Best
Oskar