Biostrings
Biostrings copied to clipboard
Fix: Removes length restriction on `writeXStringSet`, `writeQualityScaledXStringSet`
writeXStringSet and writeQualityScaledXStringSet previously restricted inputs based on the width of sequences due to limitations in the internal I/O buffer. Now arbitrarily long sequences can be written, resulting in support for width > 200003 for XStringSet objects and also support for writing QualityScaledXStringSet objects with sequences longer than 200kbp.
More specific changes:
-
writeXStringSetnow supports any integer value forwidth -
writeXStringSetcalled with zero or negative values forwidthwill now using unbounded width (i.e., each sequence written on a single line) -
writeQualityScaledXStringSetnow functions for sequences of arbitrary length, fixing Issue 177 (#117) - Unit test cases added to cover new functionality. Could consider adding more tests to cover other
SolexaQualityandIlluminaQuality, as well as verifying that the output widths are the correct number of characters.