clip -- an Experiment File sequence clipper
clip [-w length_1] [-u unknown_1]
[-W length_2] [-U unknown_2] [-v]
[-s start_offset] [-m minimum_extent] file ...
Clip is a simple program to decide how much of the 3' end of a sequence,
stored as an Experiment File, should be clipped off and ignored during
assembly. The decision is made by simply counting the numbers of unknown
bases (eg - or N) found within windows slid left to right
along the sequence.
The file arguments, of which there can be several, are processed one at a
time. Each argument is assumed to be a valid Experiment File. The sequence
is read from the Experiment File SQ identifier; clipping is performed;
and a QL identifier is appended to the file.
The clip position is calculated by sliding a window of length
length_1 along the sequence starting from base start_offset.
We stop once we find greater than or equal to unknown_1
unknown bases. At this stage two choices are available; to place our clip
at the start position of our first window or to proceed from our current
position plus half of length_1 using a second window. In the latter
case we perform a similar operation to the first window, except using the
length_2 and unknown_2 parameters. We will then set the
clip to be the start position of this second window.
To only use one window (the default parameters) set the length_2
parameter to be 0 using -W 0.
The default arguments are -w 100 -u 5 -W 0 -U 0 -s 20 -m 15.
-w length
-u unknown
-W length
-U unknown
-v
-s offset
-m extent
QR to
1.
See section ExperimentFile(4).See section trace_clip.