Giter Club home page Giter Club logo

Comments (3)

zstephens avatar zstephens commented on September 15, 2024

An interesting idea. Looking over the source I see a number of areas where there are hardcoded assumptions that the input data is human, but not too many. The biggest offender is the final combine_reports.py script, which takes all the reads spanning viral breakpoints and boils them down into a consolidated list of sites. At a glance, I see:

i) a HUMAN_CHR whitelist
ii) hardcoded TELOMERE_HG38 and CENTROMERE_HG38 coordinates used for filtering
iii) a get_nearest_transcript() function which is hardcoded to reference hg38 gene annotations

In the main Exogene-SR.sh script, there are a few human-specific steps:

i) # discard reads which align very well to transcriptome reference
ii) # discard reads which align very well to decoy reference

So overall I think the workflow could be forked to support nonhuman reference sequences, it would involve replacing a few hardcoded variables with contig lists read in (most likely) from a .fa.fai file. It would also likely involve removing some of the filters described above, so I would expect the pipeline to yield more false positives as compared to running it on human.

from exogene.

PavitaKae avatar PavitaKae commented on September 15, 2024

An interesting idea. Looking over the source I see a number of areas where there are hardcoded assumptions that the input data is human, but not too many. The biggest offender is the final combine_reports.py script, which takes all the reads spanning viral breakpoints and boils them down into a consolidated list of sites. At a glance, I see:

i) a HUMAN_CHR whitelist ii) hardcoded TELOMERE_HG38 and CENTROMERE_HG38 coordinates used for filtering iii) a get_nearest_transcript() function which is hardcoded to reference hg38 gene annotations

In the main Exogene-SR.sh script, there are a few human-specific steps:

i) # discard reads which align very well to transcriptome reference ii) # discard reads which align very well to decoy reference

So overall I think the workflow could be forked to support nonhuman reference sequences, it would involve replacing a few hardcoded variables with contig lists read in (most likely) from a .fa.fai file. It would also likely involve removing some of the filters described above, so I would expect the pipeline to yield more false positives as compared to running it on human.

From your response, i can run with non-human species already, but i need function nearest gene to filter some position. How to change annotation from Human to another species, what file or line in code that i must be change?

Thank you

from exogene.

zstephens avatar zstephens commented on September 15, 2024

Greetings! Since I'm already in the process of cleaning up combine_reports.py, I'll try to make the gene bed file an input argument so that you can provide your own annotations.

from exogene.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.