trace_diff -- Detect mutations between two SCF files.
trace_diff
[-v scf_version]
[-p scf_precision]
[-n num_sd]
[-b band_width]
[-s position]
[-e position]
[-o file]
[-S]
[-c]
[-a]
mutant_file [wild_type_file]
trace_diff aligns two trace files together, subtracts one from the
other, and then uses this `difference trace' to differentiate real sequence
mutations from incorrect base calls.
Bonfield,JK, Rada,C and Staden,R Automated detection of point mutations
using fluorescent sequence trace subtraction. Nucl. Acids Res. 26,
3404-3409 (1998).
For an overview and more details about mutation detection seesection Search for Mutations..
The alignment is performed by firstly aligning the two text sequences
together, and then using this alignment to scale the traces such that the same
number of `trace samples' are used for the aligned base calls in the two
traces. The differencing algorithm then simply subtracts one trace from
another, without any Y scaling. With the -o option, this difference
trace can be written as an SCF file which can then be viewed with trev.
To detect mutations in the difference trace we firstly compute the background
mean and the standard deviation over the length of the trace to check for
mutations. We then search the trace for locations containing two opposing
differences in trace signals. For instance a change from an A base to a
T will include a positive A trace difference and a negative
T trace difference. If both the positive and negative differences are
more than num_sd multiples of the standard deviation from the mean, then
this is a potential mutation. If the -a option has been given
trace_diff will accept this as a real mutation. Otherwise, it also
checks that the base calls differ and will ignore the potential mutation if
they do not. If an experiment file was given as input, mutations may be
written back to the experiment file as tags.
The mutant_file and wild_type_file specify the file to detect mutations
in, and the wild type trace to compare against. If the mutant_file is an
experiment file (which must contain LN and LT records pointing
to the real trace file), the mutations found will be written back to the
experiment file as MUTN tags. The experiment file may also contain a
WT record referencing the wild type SCF file, in which case the
wild_type_file argument is optional.
-v scf_version
-o. Valid values
are 2 and 3. Defaults to 3.
-p scf_precision
8 and 16. Defaults to 16.
-n num_sd
4.
-b band_width
-s position
-e position
50 to 300.
-o file
-S
-c
-s to -e) should be
clipped, if necessary, by the QL and QR line types in the
experiment file. Hence the start position is the maximum of the QL
and -s values, whilst the end position in the minimum of QR
and -e values.
-a