Giter Site home page Giter Site logo

FLAIR collapse stringency about flair HOT 4 CLOSED

brookslabucsc avatar brookslabucsc commented on August 11, 2024
FLAIR collapse stringency

from flair.

Comments (4)

drc111 avatar drc111 commented on August 11, 2024 1

In the upper image, only the corrected reads for the untreated samples i shown.
For the lower image, the corrected reads from both conditions were combined prior to flair collapse exactly as you describe.

Thanks for the suggestion involving the -s argument, and I see that the isoforms with intron retention are unsupported according to the default criteria.

However, as you see on the upper image, it looks like an isoform containing all exons except the first is supported by 3+ reads EXCEPT that the reads slightly deviate in their 5' end and thus does not pass the flair collapse criteria (I have zoomed in on these reads on the image below).

flair correct2

Do you think that isoform should have passed flair collapse?

Since I am also interested in how splicing is globally affected, I have also been using the corrected reads directly after flair correct as input for the mark_intron_retention.py script, which have allowed me to detect global differences between treated(untreated samples. This works, I assume, since the corrected reads in this case is used as "isoforms".

from flair.

belgravia avatar belgravia commented on August 11, 2024

Thanks for posting images of the reads, it's super helpful. Just to make sure we're on the same page, it looks like you've combined the reads from both your conditions and are showing the combined corrected reads, firstpass isoforms, and final isoforms. The file of corrected reads is given to flair-collapse to make the firstpass isoforms, a non-redundant representation of the corrected reads. The firstpass isoforms are then filtered using the combined read fastq file.

Assuming you ran flair collapse with all the default options, a firstpass isoform with fewer than 3 supporting reads (-s argument) from the combined read fastq file will be removed. You can decrease this number to increase your sensitivity. The second and third GAPDH isoform in the firstpass panel have retained introns in the last and fifth-to-last splice junctions. Looking at the reads, it looks like there are only two reads that would support either one of those retentions. Thus, if there's only 1 supporting read for either of those isoforms, they will get removed.

I realize that the corrected reads screenshot is only a subset of all corrected reads. If you think that there are 3+ supporting reads for the firstpass isoforms that were removed and that they are removed in error, I will of course look into this issue more.

If you have other features you would like to see added for increasing sensitivity, please let me know!

-Alison

from flair.

belgravia avatar belgravia commented on August 11, 2024

Hi,

There is a step of FLAIR collapse that filters out subset isoforms by default. So for this example, since a longer version of these reads is already represented, the shorter isoform missing just the first exon is removed. If you would like to keep these subset isoforms, you can specify -e comprehensive!

Thank you for extreme patience! I missed this post by accident until now that I'm cleaning through old issues. If this ever happens again feel free to poke me more.
-Alison

from flair.

drc111 avatar drc111 commented on August 11, 2024

Thanks a lot for your help!

  • Sebastian

from flair.

Related Issues (20)

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.