@@ -17,12 +17,41 @@ public CommonParameters()
17
17
{
18
18
}
19
19
20
- public CommonParameters ( string taskDescriptor = null , DissociationType dissociationType = DissociationType . HCD , DissociationType ms2childScanDissociationType = DissociationType . Unknown , DissociationType ms3childScanDissociationType = DissociationType . Unknown , string separationType = "HPLC" , bool doPrecursorDeconvolution = true ,
21
- bool useProvidedPrecursorInfo = true , double deconvolutionIntensityRatio = 3 , int deconvolutionMaxAssumedChargeState = 12 , bool reportAllAmbiguity = true ,
22
- bool addCompIons = false , int totalPartitions = 1 , double scoreCutoff = 5 , int ? numberOfPeaksToKeepPerWindow = 200 , double ? minimumAllowedIntensityRatioToBasePeak = 0.01 , double ? windowWidthThomsons = null , int ? numberOfWindows = null , bool normalizePeaksAccrossAllWindows = false , bool trimMs1Peaks = false ,
23
- bool trimMsMsPeaks = true , bool useDeltaScore = false , Tolerance productMassTolerance = null , Tolerance precursorMassTolerance = null , Tolerance deconvolutionMassTolerance = null ,
24
- int maxThreadsToUsePerFile = - 1 , DigestionParams digestionParams = null , IEnumerable < ( string , string ) > listOfModsVariable = null , IEnumerable < ( string , string ) > listOfModsFixed = null , double qValueOutputFilter = 1.0 , double pepQValueOutputFilter = 1.0 ,
25
- bool assumeOrphanPeaksAreZ1Fragments = true , int maxHeterozygousVariants = 4 , int minVariantDepth = 1 , bool addTruncations = false )
20
+ public CommonParameters (
21
+ string taskDescriptor = null ,
22
+ DissociationType dissociationType = DissociationType . HCD ,
23
+ DissociationType ms2childScanDissociationType = DissociationType . Unknown ,
24
+ DissociationType ms3childScanDissociationType = DissociationType . Unknown ,
25
+ string separationType = "HPLC" ,
26
+ bool doPrecursorDeconvolution = true ,
27
+ bool useProvidedPrecursorInfo = true ,
28
+ double deconvolutionIntensityRatio = 3 ,
29
+ int deconvolutionMaxAssumedChargeState = 12 ,
30
+ bool reportAllAmbiguity = true ,
31
+ bool addCompIons = false ,
32
+ int totalPartitions = 1 ,
33
+ double qValueThreshold = 0.01 ,
34
+ double pepQValueThreshold = 1.0 ,
35
+ double scoreCutoff = 5 ,
36
+ int ? numberOfPeaksToKeepPerWindow = 200 ,
37
+ double ? minimumAllowedIntensityRatioToBasePeak = 0.01 ,
38
+ double ? windowWidthThomsons = null ,
39
+ int ? numberOfWindows = null ,
40
+ bool normalizePeaksAccrossAllWindows = false ,
41
+ bool trimMs1Peaks = false ,
42
+ bool trimMsMsPeaks = true ,
43
+ bool useDeltaScore = false ,
44
+ Tolerance productMassTolerance = null ,
45
+ Tolerance precursorMassTolerance = null ,
46
+ Tolerance deconvolutionMassTolerance = null ,
47
+ int maxThreadsToUsePerFile = - 1 ,
48
+ DigestionParams digestionParams = null ,
49
+ IEnumerable < ( string , string ) > listOfModsVariable = null ,
50
+ IEnumerable < ( string , string ) > listOfModsFixed = null ,
51
+ bool assumeOrphanPeaksAreZ1Fragments = true ,
52
+ int maxHeterozygousVariants = 4 ,
53
+ int minVariantDepth = 1 ,
54
+ bool addTruncations = false )
26
55
27
56
{
28
57
TaskDescriptor = taskDescriptor ;
@@ -33,6 +62,8 @@ public CommonParameters(string taskDescriptor = null, DissociationType dissociat
33
62
ReportAllAmbiguity = reportAllAmbiguity ;
34
63
AddCompIons = addCompIons ;
35
64
TotalPartitions = totalPartitions ;
65
+ QValueThreshold = qValueThreshold ;
66
+ PepQValueThreshold = pepQValueThreshold ;
36
67
ScoreCutoff = scoreCutoff ;
37
68
NumberOfPeaksToKeepPerWindow = numberOfPeaksToKeepPerWindow ;
38
69
MinimumAllowedIntensityRatioToBasePeak = minimumAllowedIntensityRatioToBasePeak ;
@@ -59,9 +90,6 @@ public CommonParameters(string taskDescriptor = null, DissociationType dissociat
59
90
// reset custom fragmentation product types to default empty list
60
91
DissociationTypeCollection . ProductsFromDissociationType [ DissociationType . Custom ] = new List < ProductType > ( ) { } ;
61
92
62
- QValueOutputFilter = qValueOutputFilter ;
63
- PepQValueOutputFilter = pepQValueOutputFilter ;
64
-
65
93
AssumeOrphanPeaksAreZ1Fragments = assumeOrphanPeaksAreZ1Fragments ;
66
94
67
95
MaxHeterozygousVariants = maxHeterozygousVariants ;
@@ -90,6 +118,18 @@ public CommonParameters(string taskDescriptor = null, DissociationType dissociat
90
118
public Tolerance ProductMassTolerance { get ; set ; } // public setter required for calibration task
91
119
public Tolerance PrecursorMassTolerance { get ; set ; } // public setter required for calibration task
92
120
public bool AddCompIons { get ; private set ; }
121
+ /// <summary>
122
+ /// Only peptides/PSMs with Q-Value and Q-Value Notch below this threshold are used for quantification and
123
+ /// spectral library generation. If SearchParameters.WriteHighQValuePsms is set to false, only
124
+ /// peptides/PSMs with Q-Value/Notch below this threshold are included in .psmtsv results files.
125
+ /// </summary>
126
+ public double QValueThreshold { get ; private set ; }
127
+ /// <summary>
128
+ /// Only peptides/PSMs with PEP Q-Value below this threshold are used for quantification and
129
+ /// spectral library generation. If SearchParameters.WriteHighQValuePsms is set to false, only
130
+ /// peptides/PSMs with PEP Q-Value below this threshold are included in .psmtsv results files.
131
+ /// </summary>
132
+ public double PepQValueThreshold { get ; private set ; }
93
133
public double ScoreCutoff { get ; private set ; }
94
134
public DigestionParams DigestionParams { get ; private set ; }
95
135
public bool ReportAllAmbiguity { get ; private set ; }
@@ -101,13 +141,10 @@ public CommonParameters(string taskDescriptor = null, DissociationType dissociat
101
141
public bool TrimMs1Peaks { get ; private set ; }
102
142
public bool TrimMsMsPeaks { get ; private set ; }
103
143
public bool UseDeltaScore { get ; private set ; }
104
- public double QValueOutputFilter { get ; private set ; }
105
- public double PepQValueOutputFilter { get ; private set ; }
106
144
public List < ProductType > CustomIons { get ; private set ; }
107
145
public bool AssumeOrphanPeaksAreZ1Fragments { get ; private set ; }
108
146
public int MaxHeterozygousVariants { get ; private set ; }
109
147
public int MinVariantDepth { get ; private set ; }
110
-
111
148
public bool AddTruncations { get ; private set ; }
112
149
public DissociationType DissociationType { get ; private set ; }
113
150
public string SeparationType { get ; private set ; }
@@ -159,6 +196,8 @@ public CommonParameters CloneWithNewTerminus(FragmentationTerminus? terminus = n
159
196
ReportAllAmbiguity ,
160
197
addCompIons . Value , //possibly changed
161
198
TotalPartitions ,
199
+ QValueThreshold ,
200
+ PepQValueThreshold ,
162
201
ScoreCutoff ,
163
202
NumberOfPeaksToKeepPerWindow ,
164
203
MinimumAllowedIntensityRatioToBasePeak ,
@@ -185,8 +224,6 @@ public CommonParameters CloneWithNewTerminus(FragmentationTerminus? terminus = n
185
224
) ,
186
225
ListOfModsVariable ,
187
226
ListOfModsFixed ,
188
- QValueOutputFilter ,
189
- PepQValueOutputFilter ,
190
227
AssumeOrphanPeaksAreZ1Fragments ,
191
228
MaxHeterozygousVariants ,
192
229
MinVariantDepth ,
0 commit comments