murphycj / AGFusion

Python package to annotate and visualize gene fusions.
https://www.agfusion.app
MIT License
59 stars 25 forks source link

Add gene direction to the exons output file #26

Closed susannasiebert closed 5 years ago

susannasiebert commented 5 years ago

We would like to add AGfusion support the our immunotherapy toolkit pVACtools (pvactools.org, https://github.com/griffithlab/pVACtools). We would like to output not only the genomic coordinates, which we can grab from the exons files, but also the direction of transcription for the fusion (i.e. the orientation for each gene at the junction site). If i'm interpreting the output correctly the orientation can only be interpreted from the current results if there is more than one exon involved on both sides of the fusion by looking to see if coordinates increase or decrease. Would it be possible to formally add this information to the AGfusion output to help with situations where only 1 exon is reported on a fusion side?

murphycj commented 5 years ago

That should be no problem. Just to make sure I understand you, you want the output to include the strand of each gene partner (i.e. + or -)? Do you want this information in the table output as well as in the sequence name in the fasta file? Or just one of them?

susannasiebert commented 5 years ago

By strand, do you mean the orientation? If so, then yes, that's the information we need. For example, for a TP53-EGFR fusion the gene partners could have the following orientations:

TP53 + EGFR -
TP53 + EGFR +
TP53 - EGFR -
TP53 - EGFR +

If you could include that in both the table and the header, that would be great.

susannasiebert commented 5 years ago

After talking this through with my colleagues, yes, providing the transcript chromosomal orientation would be sufficient. Sorry for the confusion.

murphycj commented 5 years ago

Sorry about the delay here. You may or may not need this feature anymore, but I have added strand information to the header and table output. Just install the latest release: v1.25.

susannasiebert commented 5 years ago

Thank you for adding this feature. Feel free to close this issue.