Converts one or more contig sequences in .ace file format to .fastq format. The parameter target_dir has a special value 'stdout' which will just return the contigs as a list.

ace_to_fastq(filename, target_dir = dirname(filename), name2id = TRUE)

Arguments

filename

.ace file

target_dir

target directory or stdout

name2id

use the file name as primary id or not. Default is TRUE.

Value

list

Author

Reinhard Simon

Examples


  library(ace2fastq)
  filename <- system.file("sampledat/1.seq.ace", package = "ace2fastq")
 
  fileout <- ace_to_fastq(filename, target_dir = tempdir())