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

Execution issue still persists with get_longest_isoform.py #49

Open
sahoo-rk opened this issue Mar 6, 2024 · 1 comment
Open

Execution issue still persists with get_longest_isoform.py #49

sahoo-rk opened this issue Mar 6, 2024 · 1 comment

Comments

@sahoo-rk
Copy link

sahoo-rk commented Mar 6, 2024

I execute the script with a single braker.gtf file and the error still persists in the updated version (I've gone through the issue mentioned at #34 ).

get_longest_isoform.py --gtf braker.gtf --out longiso.gtf

### READING GENE PREDICTION: [braker.gtf]
### BUILD OVERLAP GRAPH
### CHOOSE LONGEST ISOFORM FOR EACH GENE
Traceback (most recent call last):
  File "/home/sahoork/dumpack/TSEBRA/bin/get_longest_isoform.py", line 107, in <module>
    main()
  File "/home/sahoork/dumpack/TSEBRA/bin/get_longest_isoform.py", line 63, in main
    tx_longest = sorted([graph.__tx_from_key__(n) for \
  File "/home/sahoork/dumpack/TSEBRA/bin/get_longest_isoform.py", line 64, in <lambda>
    n in comp], key=lambda t:t.get_cds_len())[-1]
AttributeError: 'Transcript' object has no attribute 'get_cds_len'

Am I missing something here? Please suggest.

Thanks,

@LarsGab
Copy link
Collaborator

LarsGab commented Mar 6, 2024

Hi,

I made an update that should fix this issue.

Best,
Lars

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