Learn R Programming

methVisual (version 1.24.0)

readBisulfFASTA: Read multiple FASTA file

Description

Read multiple FASTA file and write bisulfite sequences in separate FASTA files for every bisulfite sequence

Usage

readBisulfFASTA(sFileName,sDirName)

Arguments

sFileName
String; path to multiple FASTA file
sDirName
String; path to directory of created separated FASTA files

Examples

Run this code
## In order to use the following example 
## make sure that you have writing permission under R.home()
## directory. If you do not have permission choose your own path. 
#dir.create(file.path(R.home(component="home"),"/BiqAnalyzer")) 
BiqAnalyzer_path <- file.path(tempdir(), "BiqAnalyzer")
dir.create(BiqAnalyzer_path)
makeLocalExpDir(dataPath="/examples/BiqAnalyzer", localDir=BiqAnalyzer_path)

readBisulfFASTA(sFileName=file.path(BiqAnalyzer_path,"multiFASTA.fasta"),
                sDirName=BiqAnalyzer_path)

Run the code above in your browser using DataLab