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

Plastid 0.6.1 causes BAM2coconcount.py to exit with an error #58

Open
lparsons opened this issue Feb 3, 2023 · 0 comments
Open

Plastid 0.6.1 causes BAM2coconcount.py to exit with an error #58

lparsons opened this issue Feb 3, 2023 · 0 comments

Comments

@lparsons
Copy link
Collaborator

lparsons commented Feb 3, 2023

Plastid 0.6.1 changed the Transcript object. It does not appear to have a method get_length anymore.

Quick fix is to pin the Plastid version in the workflow.

Longer term fix is to update the code to work with the newer Plastid API.

INFO: Evaluated 1 genes
Traceback (most recent call last):
 File "code/BAM2codoncount.py", line 210, in <module>
   main(args, loglevel)
 File "code/BAM2codoncount.py", line 70, in main
   if (transcript.get_cds().get_length() <= 0):
AttributeError: 'plastid.genomics.roitools.Transcript' object has no attribute ‘get_length'
lparsons added a commit to lparsons/MitoRiboSeq that referenced this issue Feb 3, 2023
Later plastid versions made backwards incompatible changes to
`Transcript`. See issue sophiahjli#58.
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

1 participant