fn() assignCroppedSeqId
Extracts the sequence id up to the first whitespace of a sequence file fragment.

Defined in <seqan/file>
Signature void assignCroppedSeqId(id, seqFragment, formatTag);

Parameters

id The resulting cropped sequence id of the fragment (e.g. Fasta ID). The resulting id contains no whitespaces. Type: CharString.
seqFragment A sequence file fragment. Type: SequenceConcept.
formatTag A file format tag. Type: FileFormatTag.

Detailed Description

After calling split on a ConcatDirectStringSet to divide a file into fragments, this function can be used to extract the sequence id up to the first whitespace of every fragment in the StringSet.