Skip to content
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

sequences display from 1 not 0 ? #77

Open
taoym470 opened this issue May 6, 2023 · 1 comment
Open

sequences display from 1 not 0 ? #77

taoym470 opened this issue May 6, 2023 · 1 comment

Comments

@taoym470
Copy link

taoym470 commented May 6, 2023

Hello!

So many thanks for this wonderful tool! It would be much better if the sequences display from 1 not 0.

@Zulko
Copy link
Member

Zulko commented May 8, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants