FastQ.offset.pl
There are several FastQ formats. This script takes a FastQ in any of them, identifies the type of FastQ (this is, the offset), and generates a FastQ with the given offset.
See source code, Artistic license 2.0.
§ References
Rodriguez-R & Konstantinidis, 2016, PeerJ Preprints.
§ Requirements
- Perl.
§ Usage
FastQ.offset.pl in_file integer [opts] > out_file
§ Arguments
- Input file*
in_file
Input file in FastQ format (range is automatically detected).- Offset*
integer
Offset to use for the output. Use 0 (zero) to detect the input format and exit.- Force
force
If set, turns errors into warnings and continues. Out-of-range values are set to the closest range limit.- Output file*
out_file
Output file in FastQ format with the specified offset.