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

Translation when there is more than one reading frame #24

Open
beaferbl opened this issue Jul 16, 2024 · 2 comments
Open

Translation when there is more than one reading frame #24

beaferbl opened this issue Jul 16, 2024 · 2 comments

Comments

@beaferbl
Copy link

Hi,
I am using IRIS translate for this SE event:
ENSG00000162572:SCNN1D:chr1:+:1220951:1221044:1219470:1221306

The output in the prot.fa file is the following:

chr1:1219470|1221306:uniprotFrame:+:form:skp(+)|chr1:1219470|1221306:uniprotFrame:+:form:skp(+)
AATRGGSHLQlQPRRPPGRG
chr1:1219470|1220951:uniprotFrame:+:form:inc1(+)|chr1:1219470|1220951:uniprotFrame:+:form:inc1(+)
AATRGGSHLQsPGPVAPQRP
chr1:1221044|1221306:uniprotFrame:+:form:inc2(+)|chr1:1221044|1221306:uniprotFrame:+:form:inc2(+)
QHNAACKQGQlQPRRPPGRG

In the uniprot2gtf.blastout.uniprotAll.txt I can see two coding regions that match the left coordinate of the skp and inc1 junctions:
chr1:1219357-1219470 and chr1:1219404-1219470. These have different reading frames, but IRIS only translates the junction according to the last one. Why does it happen?

Thanks,
Bea

@EricKutschera
Copy link
Contributor

The code tries to find the sequence to translate based on https://github.com/Xinglab/IRIS/blob/v2.0.1/IRIS/data/uniprot2gtf.blastout.uniprotAll.txt. Once if finds a valid value it stops looking and there is a comment mentioning that only 1 starting point is used: https://github.com/Xinglab/IRIS/blob/v2.0.1/IRIS/IRIS_translation.py#L80

You could try using IRIS translate --all-reading-frames to use all reading frames: https://github.com/Xinglab/IRIS/blob/v2.0.1/bin/IRIS#L387

@beaferbl
Copy link
Author

Okay, I see.
Thank you!

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