[Bioc-devel] Question, R, get sequence genes

Martin Morgan martin.morgan at roswellpark.org
Mon Dec 5 11:28:39 CET 2016


On 12/04/2016 11:34 PM, Keyvān Karami via Bioc-devel wrote:
> Hi
>
> My question is how i can get sequence some genes with "
> BSgenome.Btaurus.UCSC.bosTau8"
>
> i want to get sequence of a list of locations of genes
> like:
> chr25	35102454	35102482
> chr19	44035969	44036049
> chr18	10444115	10444121
> chr27	37240300	37240538
> chr23	27407610	27407664
> chr19	42749144	42749216........

Ask questions about using Bioconductor packages on the Bioconductor 
support site

   https://support.bioconductor.org

Create a GRanges object from your coordinates, e.g.,

     gr <- GRanges(df)

and use

   BSgenome::getSeq(BSgenome.Btaurus.UCSC.bosTau8, gr)

Martin

>
> --
> Regards,
>
>
> Keyvan
>
> Msc Animal Genetics
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>


This email message may contain legally privileged and/or...{{dropped:2}}



More information about the Bioc-devel mailing list