Workflow Steps and Code Snippets
1 tagged steps and code snippets that match keyword TxDb.Mmusculus.UCSC.mm10.ensGene
Snakemake project for common mm10 reference files
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | if (interactive()) { library(methods) Snakemake <- setClass( "Snakemake", slots=c( input='list', output='list', wildcards='list', threads='numeric' ) ) snakemake <- Snakemake( input=list(), output=list(gtf="txdb.mm10.ensGene.txcutr.w{width}.gtf", fa="txdb.mm10.ensGene.txcutr.w{width}.fa"), wildcards=list(width="500"), threads=1 ) } ################################################################################ ## Libraries and Parameters ################################################################################ library(txcutr) library(BSgenome.Mmusculus.UCSC.mm10) library(TxDb.Mmusculus.UCSC.mm10.ensGene) mm10 <- BSgenome.Mmusculus.UCSC.mm10 txdb <- TxDb.Mmusculus.UCSC.mm10.ensGene maxTxLength <- as.integer(snakemake@wildcards$width) ## set cores BiocParallel::register(BiocParallel::MulticoreParam(snakemake@threads)) ################################################################################ ## Truncate and Export ################################################################################ txdb_result <- truncateTxome(txdb, maxTxLength) exportGTF(txdb_result, snakemake@output$gtf) exportFASTA(txdb_result, mm10, snakemake@output$fa) |
data / bioconductor
TxDb.Mmusculus.UCSC.mm10.ensGene
Annotation package for TxDb object(s): Exposes an annotation databases generated from UCSC by exposing these as TxDb objects