You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: bool = False: Whether to enable test mode with deterministic behavior, test mode will sort libraries by precursor, fragmentType, fragmentSeriesNumber and fragmentCharge
@@ -662,10 +664,18 @@ class ExportIOConfig(BaseIOConfig):
662
664
663
665
# SqMass: Export to parquet
664
666
pqp_file (Optional[str]): Path to PQP file for precursor/transition mapping.
667
+
668
+
# Export to library
669
+
rt_calibration (bool): If True, will use emperical RT values as oppose to the original library RT values
670
+
im_calibration (bool): If True, will use emperical IM values as oppose to the original library IM values
671
+
intensity_calibration (bool): If True, will use emperical intensity values as oppose to the original library intensity values
672
+
min_fragments (int): Minimum number of fragments required to include the peak group in the library, only relevant if intensity_calibration is True
673
+
keep_decoys (bool): Whether to keep decoy entries in the library, will only keep decoys that pass the thresholds specified
674
+
rt_unit (Literal["iRT", "RT"], default = 'iRT') = "iRT": Unit of retention time in the library, only relevant if rt_calibration is True. If "iRT" is selected, the retention times will be scaled to the iRT scale (0-100) in the library
required=True, # need to name the library or else get error in os.path.splittext line 75, in __post_init__in _base.
364
+
type=click.Path(exists=False),
365
+
help="Output tsv library.",
366
+
)
367
+
@click.option(
368
+
"--max_peakgroup_qvalue",
369
+
default=0.01,
370
+
show_default=True,
371
+
type=float,
372
+
help="Filter results to maximum run-specific peak group-level q-value, using values greater than final statistical filtering (in most cases > 0.01), may lead to an overestimation in identification rates. If there are multiple runs with the same precursors, the run with the lowest q value is used",
373
+
)
374
+
@click.option(
375
+
"--max_global_peptide_qvalue",
376
+
default=0.01,
377
+
show_default=True,
378
+
type=float,
379
+
help="Filter results to maximum global peptide-level q-value, using values greater than final statistical filtering (in most cases > 0.01), may lead to an overestimation in identification rates."
380
+
)
381
+
@click.option(
382
+
"--max_global_protein_qvalue",
383
+
default=0.01,
384
+
show_default=True,
385
+
type=float,
386
+
help="Filter results to maximum global protein-level q-value, using values greater than final statistical filtering (in most cases > 0.01), may lead to an overestimation in identification rates."
387
+
)
388
+
@click.option(
389
+
"--rt_calibration/--no-rt_calibration",
390
+
default=True,
391
+
show_default=True,
392
+
help="Use empirical RT values as oppose to the original library RT values."
393
+
)
394
+
@click.option(
395
+
"--im_calibration/--no-im_calibration",
396
+
default=True,
397
+
show_default=True,
398
+
help="Use empirical IM values as oppose to the original library IM values."
help="Use empirical intensity values as oppose to the original library intensity values."
405
+
)
406
+
@click.option(
407
+
"--min_fragments",
408
+
default=4,
409
+
show_default=True,
410
+
type=int,
411
+
help="Minimum number of fragments required to include the peak group in the library, only relevant if intensityCalibration is True."
412
+
)
413
+
@click.option(
414
+
"--keep_decoys/--no-keep_decoys",
415
+
default=False,
416
+
show_default=True,
417
+
type=bool,
418
+
help="(Experimental) Whether to keep decoys in the exported library. Default is False, which means decoys are filtered out. Only keeps decoys passing thresholds specified above"
419
+
)
420
+
@click.option(
421
+
"--rt_unit",
422
+
default="iRT",
423
+
show_default=True,
424
+
type=click.Choice(["iRT", "RT"]),
425
+
help='Unit of retention time in the library, only relevant if rt_calibration is True. If "iRT" is selected, the retention times will be scaled to the iRT scale (0-100) in the library.',
426
+
hidden=True
427
+
)
428
+
@click.option(
429
+
"--test/--no-test",
430
+
default=False,
431
+
show_default=True,
432
+
help="Enable test mode with deterministic behavior, test mode will sort libraries by precursor, fragmentType, fragmentSeriesNumber and fragmentCharge")
0 commit comments