<!-- Quality filter.-->
<qualityFilter>
<!-- Enable or disable the trim back filter. Normally, enabling
this filter is recommended.
default=true -->
<doValleyFilterTrimBack>true</doValleyFilterTrimBack>
<!-- This parameter controls the number of "bad" flows counted
before the read is discarded. Increase this number to
increase the number of wells while reducing quality.
default=4 -->
<vfBadFlowThreshold>4</vfBadFlowThreshold>
<!-- This is the last flow to test for the valley filter. Set it
to a larger number to make the filter more stringent.
default=320 -->
<vfLastFlowToTest>320</vfLastFlowToTest>
<!-- Use this parameter to control the percentage of reads that
can fail before the trimback filter discards the read.
Setting it to 100 disables the trimback filter's error
checking component (recommended).
default=100 -->
<vfMaxFailedPercent>100</vfMaxFailedPercent>
<!-- Use this parameter to control the minimum number of good
flows that must be present before the trim-back filter discards it.
default=84 -->
<vfTrimBackMinimumLength>84</vfTrimBackMinimumLength>
<!-- This parameter controls the stringency of the
valley filter. A higher number rates ambiguous
signals more strictly and more likely to throw
out the read.
default=0.7 for FLX, 1.6 for Junior, 2.2 for 400 cycle runs -->
<vfTrimBackScaleFactor>0.7</vfTrimBackScaleFactor>
<if test="starts-with(InstrumentModel,'GSJUNIOR_A')">
<!-- This is for Junior runs only. -->
<vfTrimBackScaleFactor>1.6</vfTrimBackScaleFactor>
</if>
<if test="Run.Flow.CycleCount > 299">
<vfTrimBackScaleFactor>2.2</vfTrimBackScaleFactor>
</if>
<!-- This parameter controls the last flow over
which the valley filter scans. For longer
reads, lower quality signals at higher
flows may penalize otherwise good data. Set
this limit to a number lower than the number of
flows to enable this limit.
default=4096 to disable -->
<vfScanLimit>4096</vfScanLimit>
</qualityFilter>
cd /Path/to/D_folder
gsRunProcessor --template=filterOnly > myShotgunTemplate.xml
gsRunProcessor --template=filterOnlyAmplicons > myAmpliconsTemplate.xml
nedit myShotgunTemplate.xml or gedit myShotgunTemplate.xml
|
4.
|
Within the template, scroll down to the <qualityFilter> section (Figure 6) or <baseCaller> section (located just below <qualityFilter>). User-editable filter parameters that govern the selection of high quality reads are adjusted in these two sections. Edit filter parameters to either increase stringency (fewer, higher quality reads) or decrease stringency (more, lower quality reads). A short description and the default values for each filter in the template are shown in Table 10 (Valley Filter/Valley TrimBack Filter Parameters) and in Table 11 (Basecall Quality Score Filter Parameters).
|
cd ..
runAnalysisFilter --pipe=/Path/to/myShotgunTemplate.xml /Path/to/D_folder
|
Concentrate on the use of two valley filter parameters: reduce vfScanLimit to include more reads with low quality at the 3’ end; and increase or decrease vfTrimBackScaleFactor to increase or decrease the number of rejected reads with ambiguous flows.
|
<doClassifierCheck>false</doClassifierCheck> <doDotCheck>false</doDotCheck> <doMixedCheck>false</doMixedCheck> <doShortSignalCheck>false</doShortSignalCheck> |