DnaFeaturesViewer
DnaFeaturesViewer copied to clipboard
sequences display from 1 not 0 ?
Hello!
So many thanks for this wonderful tool! It would be much better if the sequences display from 1 not 0.
This is because it uses Biopython indexing (from 0) by default. For genbank-type indexing (starting at 1) this should work:
my_graphic_record.plots_indexing == 'genbank'
my_graphic_record.plot(...)
See the docs:
plots_indexing
Indicates which standard to use to show nucleotide indices in the plots.
If 'biopython', the standard python indexing is used (starting at 0).
If 'genbank', the indexing follows the Genbank standard (starting at 1).