analyzeIUPred2A {IsoformSwitchAnalyzeR} | R Documentation

## Import Result of IUPred2A analysis

### Description

Allows for easy integration of the result of IUPred2A (performing external sequence analysis of Intrinsically Disordered Regions (IDR) and Intrinsically Disordered Binding Regions (IDBR) ) in the IsoformSwitchAnalyzeR workflow. This function also supports using a sliding window to extract IDRs. Please note that due to the 'removeNoncodinORFs' option in `analyzeCPAT` and `analyzeCPC2` we recommend using analyzeCPC2/analyzeCPAT before using analyzeIUPred2A, analyzePFAM and analyzeSignalP if you have predicted the ORFs with `analyzeORF`.

### Usage

    analyzeIUPred2A(
        switchAnalyzeRlist,
        pathToIUPred2AresultFile,
        smoothingWindowSize = 5,
        probabilityCutoff = 0.5,
        minIdrSize = 30,
        annotateBindingSites = TRUE,
        minIdrBindingSize = 15,
        minIdrBindingOverlapFrac = 0.8,
        showProgress = TRUE,
        quiet = FALSE
    )

### Arguments

`switchAnalyzeRlist` | A `switchAnalyzeRlist` object
`pathToIUPred2AresultFile` | A string indicating the full path to the IUPred2A result file. If multiple result files were created (multiple web-server runs) just supply all the paths as a vector of strings. Can both be gziped or unpacked.
`smoothingWindowSize` | An integer indicating how large a sliding window should be used to calculate a smoothed (via mean) disordered probability score of a particular position in a peptide. This has as a smoothing effect which prevents IDRs from not being detected (or from being split into sub-IDRs) by a single residue with low probability. The trade off is worse accuracy of detecting the exact edges of the IDRs. To turn of smoothing simply set to 1. Default is 5 amino acids.
`probabilityCutoff` | A double indicating the cutoff applied to the (smoothed) disordered probability score (see "smoothingWindowSize" argument above) for calling a residue as "disordered". The default, 30 amino acids, is an accepted standard for long IDRs.
`minIdrSize` | An integer indicating how long a stretch of disordered amino acid constitute the "region" part of the Intrinsically Disordered Region (IDR) definition. The default, 30 amino acids, is an accepted standard for long IDRs.
`annotateBindingSites` | An logic indicating whether to also integrate the ANCHOR2 prediction of Intrinsically Disordered Binding Regions (IDBRs). See details for more info. Default is TRUE.
`minIdrBindingSize` | An integer indicating how long a stretch of binding site the "region" part of the Intrinsically Disordered Binding Regions (IDBR) is defined as. Default is 15 AA.
`minIdrBindingOverlapFrac` | An numeric indicating the min fraction of a predicted IDBR must also be within a IDR before the IDR is considered as a an IDR with a binding region. See details for more info. Default is 0.8 (aka 80%).
`showProgress` | A logic indicating whether to make a progress bar (if TRUE) or not (if FALSE). Default is TRUE.
`quiet` | A logic indicating whether to avoid printing progress messages (incl. progress bar). Default is FALSE

### Details

Intrinsically Disordered Regions (IDR) are regions of a protein which does not have a fixed three-dimensional structure (opposite protein domains). Such regions are thought to play important roles in all aspects of biology (and when it goes wrong) through multiple different functional aspects. One such functional aspect is facilitating protein interactions via regions called Intrinsically Disordered Binding Regions (IDBR).

The IUPred2A webserver is somewhat strict with regards to the number of sequences in the files uploaded so we suggest multiple runs each with one of the the files contain subsets. See extractSequence for info on how to split the amino acid fasta files.

Notes for how to run the webserver:
1) Go to https://iupred2a.elte.hu 2) Upload the amino avoid file (_AA) created with `extractSequence`. 3) Add your email (you will receive a notification when the job is done). 4) Use default parameters ("IUPred2 long disorder" as prediction type and "ANCHOR2" for context dependent prediction): 4) In the email you receive when the results are done use the link given after "The text file can be found here:" and save the result (right click on a blank space and use "save as" or use the keyboard shortcut "Ctrl/cmd + s" (or use wget etc to download in the first place)) 5) Supply a string indicating the path to the downloaded file directly to the "pathToIUPred2AresultFile" argument. If multiple files are created (multiple web-server runs) just supply the path to all of them as a string.

IDR are only added to isoforms annotated as having an ORF even if other isoforms exists in the result file. This means if you quantify the same isoform many times (many different IsoformSwitchAnalyzeR workflows on the same organism) you can just run IUPred2A once on all isoforms and then supply the entire file to `pathToIUPred2AresultFile`.

Please note that the `analyzeIUPred2A()` function will automatically only import the IUPred2A results from the isoforms stored in the switchAnalyzeRlist - even if many more are stored in the result file.

Notes on Intrinsically Disordered Binding Regions (IDBR): As the prediction of IDR and IDBR are done by two different tools we require two things to annotate the Intrinsically Disordered Binding Regions (IDBR). Firstly the IDBR (predicted by ANCHOR2) must be a region of at least `minIdrBindingSize` amino acids (after the smoothing) - note this is different from the `minIdrSize` parameter. Secondly the fraction of the IDBR which overlaps the IDR predictions (done by IUPred2, again after smoothing) must be at least `minIdrBindingOverlapFrac`. When that is the case the IDR type will be annotated as "IDR_w_binding_region" instead of just "IDR". The current default parameters have not been rigorously tested and should be considered experimental.

### Value

A column called 'idr_identified' is added to `isoformFeatures` containing a binary indication (yes/no) of whether a transcript contains any IDR regions or not. Furthermore the data.frame 'idrAnalysis' is added to the `switchAnalyzeRlist` containing positional data of each IDR identified.

The data.frame added have one row per isoform and contains the columns:

- `isoform_id`: The name of the isoform analyzed. Matches the 'isoform_id' entry in the 'isoformFeatures' entry of the switchAnalyzeRlist

- `orf_aa_start`: The start coordinate given as amino acid position (of the ORF).

- `orf_aa_end`: The end coordinate given as amino acid position (of the ORF).

- `idr_type`: A text string indicating the IDR type (one of 'IDR' or 'IDR_w_binding_region'.

- `nr_idr_binding_sites_overlapping`: (Only if `annotateBindingSites=TRUE`). An integer indicating the number of IDBRs predicted within the IDR.

- `max_fraction_of_idr_binding_sites_overlapping`: (Only if `annotateBindingSites=TRUE`). A fraction indicating the the largest overlap any IDBR had with the IDR.

- `transcriptStart`: The transcript coordinate of the start of the IDR.

- `transcriptEnd`: The transcript coordinate of the end of the IDR.

- `idrStarExon`: The exon index in which the start of the IDR is located.

- `idrEndExon`: The exon index in which the end of the IDR is located.

- `idrStartGenomic`: The genomic coordinate of the start of the IDR.

- `idrEndGenomic`: The genomic coordinate of the end of the IDR.

### Author(s)

Kristoffer Vitting-Seerup

### References

- `This function` : Vitting-Seerup et al. The Landscape of Isoform Switches in Human Cancers. Mol. Cancer Res. (2017).

- `IUPred2A` : Meszaros et al. IUPred2A: Context-dependent prediction of protein disorder as a function of redox state and protein binding. Nucleic Acids Res (2018).

### See Also

`createSwitchAnalyzeRlist`
`extractSequence`
`analyzeCPAT`
`analyzeSignalP`
`analyzePFAM`
`analyzeNetSurfP2`
`analyzeSwitchConsequences`

### Examples

    ### Load example data (matching the result files also store in IsoformSwitchAnalyzeR)
    data("exampleSwitchListIntermediary")
    exampleSwitchListIntermediary

    ### Add IUPred2A analysis
    exampleSwitchListAnalyzed <- analyzeIUPred2A(
        switchAnalyzeRlist = exampleSwitchListIntermediary,
        pathToIUPred2AresultFile = system.file("extdata/iupred2a_result.txt.gz", package = "IsoformSwitchAnalyzeR")
    )

    exampleSwitchListAnalyzed

[Package IsoformSwitchAnalyzeR version 1.14.1 Index]