Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

exportFASTA

Exports getSequence results to FASTA format


Description

Exports getSequence results to FASTA format

Usage

exportFASTA(sequences, file)

Arguments

sequences

A data.frame that was the output of the getSequence function

file

File to which you want to write the data

Author(s)

Steffen Durinck

Examples

if(interactive()){
mart <- useMart("ensembl", dataset="hsapiens_gene_ensembl")

#seq<-getSequence(chromosome=c(2,2),start=c(100000,30000),end=c(100300,30500),mart=mart)
#exportFASTA(seq,file="test.fasta")

martDisconnect(mart = mart)
}

biomaRt

Interface to BioMart databases (i.e. Ensembl)

v2.46.3
Artistic-2.0
Authors
Steffen Durinck [aut], Wolfgang Huber [aut], Sean Davis [ctb], Francois Pepin [ctb], Vince S Buffalo [ctb], Mike Smith [ctb, cre] (<https://orcid.org/0000-0002-7800-3848>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.