View source: R/analyze_external_sequence_analysis.R
analyzeDeepTMHMM | R Documentation |
Allows for easy integration of the result of DeepTMHMM (performing external sequence analysis of isoform topology) in the IsoformSwitchAnalyzeR workflow. Please note that due to the 'removeNoncodinORFs' option in analyzeCPAT
and analyzeCPC2
we recommend using analyzeCPC2/analyzeCPAT before using analyzeTopcons2, analyzeDeepTMHMM, analyzeNetSurfP2, analyzePFAM and analyzeSignalP if you have predicted the ORFs with analyzeORF
.
analyzeDeepTMHMM(
switchAnalyzeRlist,
pathToDeepTMHMMresultFile,
ignoreAfterBar = TRUE,
ignoreAfterSpace = TRUE,
ignoreAfterPeriod = FALSE,
showProgress = TRUE,
quiet = FALSE
)
switchAnalyzeRlist |
A |
pathToDeepTMHMMresultFile |
A string indicating the full path to the DeepTMHMM result file. Can be gziped. If multiple result files were created (multiple web-server runs) just supply all the paths as a vector of strings. |
ignoreAfterBar |
A logic indicating whether to subset the isoform ids by ignoring everything after the first bar ("|"). Useful for analysis of GENCODE data. Default is TRUE. |
ignoreAfterSpace |
A logic indicating whether to subset the isoform ids by ignoring everything after the first space (" "). Useful for analysis of gffutils generated GTF files. Default is TRUE. |
ignoreAfterPeriod |
A logic indicating whether to subset the gene/isoform is by ignoring everything after the first period ("."). Should be used with care. Default is FALSE. |
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 |
The topological structure of a protein is the predition/annoation of which parts of a membrane associated protein are on the inside, within and on the outside of the cell membrane. This is very important knowleadge when designing drugs or trying to understand intercellular communication.
DeepTMHMM can be run from from https://biolib.com/DTU/DeepTMHMM and afterwards all files can be downloaded as a "gff3 format" file can be used as input to this function.
A data.frame 'topologyAnalysis' is added to the switchAnalyzeRlist
containing the type of region(s) as well as positional data of that region for each isoform.
The data.frame added have one row per topological region of an 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
region_type
: A text string indicating the location of the region compared to the membrane.
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).
transcriptStart
: The transcript coordinate of the start of the IDR.
transcriptEnd
: The transcript coordinate of the end of the IDR.
regionStarExon
: The exon index in which the start of the IDR is located.
regionEndExon
: The exon index in which the end of the IDR is located.
regionStartGenomic
: The genomic coordinate of the start of the IDR.
regionEndGenomic
: The genomic coordinate of the end of the IDR.
Kristoffer Vitting-Seerup
This function
: Vitting-Seerup et al. The Landscape of Isoform Switches in Human Cancers. Mol. Cancer Res. (2017).
DeepTMHMM
: Hallgren et al: In prep.
createSwitchAnalyzeRlist
extractSequence
analyzeCPAT
analyzeSignalP
analyzePFAM
analyzeIUPred2A
analyzeSwitchConsequences
### Please note the way of importing files in the following example with
# "system.file('pathToFile', package="IsoformSwitchAnalyzeR") is
# specialized way of accessing the example data in the IsoformSwitchAnalyzeR package
# and not something you need to do - just supply the string e.g.
# "myAnnotation/predicted_annoation.txt" to the function.
### Load example data (matching the result files also store in IsoformSwitchAnalyzeR)
data("exampleSwitchListIntermediary")
exampleSwitchListIntermediary
### Add toplogical analysis
exampleSwitchListAnalyzed <- analyzeDeepTMHMM(
switchAnalyzeRlist = exampleSwitchListIntermediary,
pathToDeepTMHMMresultFile = system.file("extdata/DeepTMHMM.gff3", package = "IsoformSwitchAnalyzeR"),
showProgress=FALSE
)
exampleSwitchListAnalyzed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.