
Export every read in a Sequencher project as an .ab1 file
spf_to_abif.RdExport every read in a Sequencher project as an .ab1 file
Arguments
- path
Path to a Sequencher project file.
- out_dir
Directory to write the
.ab1files to. It is created if needed.- basecaller
If
TRUE, also write the base calls, quality scores and peak positions to the base-caller tagsPBAS2,PCON2andPLOC2.- deleted
If
TRUE, also return reads deleted from the project whose data is still in the file.
Value
The paths of the files written, invisibly. Each file takes the
read's name in read_spf(), so a read whose name repeats another gets a
suffix (_2, _3, ...) and a warning, and no file overwrites another.
Examples
spf <- "project.SPF"
if (file.exists(spf)) spf_to_abif(spf, tempdir())