fn() appendSeqsAppends all sequences stored in files of a directory to a StringSet.
Appends all sequences stored in files of a directory to a StringSet.
Defined in | <seqan/file.h> |
---|---|
Signature |
void appendSeqs(seqSet, dirName, formatTag);
|
Parameters
seqSet
|
A StringSet of sequences to append to. |
---|---|
dirName
|
A path to a directory or single file. |
formatTag
|
A file format tag. |
Detailed Description
Remarks
This function scans a directory and searches for filenames corresponding to the sequence format stored in formatTag, opens them and appends their contained sequences to the seqSet. If formatTag is a AutoSeqFormat object, the file format is set to the first known sequence format guessed from file name.