|
| 1 | +Command Line Interface |
| 2 | +====================== |
| 3 | + |
| 4 | +.. code-block:: console |
| 5 | +
|
| 6 | + $ amimspy --help |
| 7 | +
|
| 8 | + Executing amimspy version 0.1.0 |
| 9 | + usage: __main__.py [-h] |
| 10 | + {process-scans,process-samples,hdf5-pm-to-txt,hdf5-pls-to-txt} |
| 11 | + ... |
| 12 | +
|
| 13 | + Python package for processing acoustic mist ionisation-mass spectrometry |
| 14 | + -based metabolomics and lipidomics data |
| 15 | +
|
| 16 | + positional arguments: |
| 17 | + {process-scans,process-samples,hdf5-pm-to-txt,hdf5-pls-to-txt} |
| 18 | + process-scans Process and align scans within samples. |
| 19 | + process-samples Process and align samples. |
| 20 | + hdf5-pm-to-txt Write HDF5 output (peak matrix) to text format. |
| 21 | + hdf5-pls-to-txt Write HDF5 output (peak lists) to text format. |
| 22 | +
|
| 23 | + optional arguments: |
| 24 | + -h, --help show this help message and exit |
| 25 | +
|
| 26 | +
|
| 27 | +.. code-block:: console |
| 28 | +
|
| 29 | + $ amimspy process-scans --help |
| 30 | +
|
| 31 | + Executing amimspy version 0.1.0 |
| 32 | + usage: __main__.py process-scans [-h] -i source [source ...] -ms source |
| 33 | + [source ...] -o OUTPUT -f FAILED_WELLS -pr |
| 34 | + PROCESSED_SCANS |
| 35 | + [-m {all_scans,on_scans,off_scans,on_scan_no_edge}] |
| 36 | + [-d ID_SNR] [-t ID_TOL] [-s SNR_THRESHOLD] |
| 37 | + [-n MIN_SCANS] [-r RSD_THRESHOLD] |
| 38 | + [-fr MIN_FRACTION] -p PPM [-l METALIST] |
| 39 | +
|
| 40 | + optional arguments: |
| 41 | + -h, --help show this help message and exit |
| 42 | + -i source [source ...], --input source [source ...] |
| 43 | + Absolute or relative path to the *.mzml file(s). Must |
| 44 | + be in same order as 'metascans *txt files' |
| 45 | + -ms source [source ...], --metascans source [source ...] |
| 46 | + Absolute or relative path to the comma-delimited *.txt |
| 47 | + metadata file. Must be in same order and 'input' *mzml |
| 48 | + files. Header names must contain and be in the |
| 49 | + following order names =['barcode', 'date/time', 'row', |
| 50 | + 'col', 'scan', 'ejection time', 'NA'] as output by MS- |
| 51 | + Parser tool |
| 52 | + -o OUTPUT, --output OUTPUT |
| 53 | + Absolute or relative path to the output file |
| 54 | + -f FAILED_WELLS, --failed-wells FAILED_WELLS |
| 55 | + Absolute or relative path to the *.txt output of which |
| 56 | + well failed |
| 57 | + -pr PROCESSED_SCANS, --processed_scans PROCESSED_SCANS |
| 58 | + Absolute or relative path to the *.txt output of which |
| 59 | + well failed |
| 60 | + -m {all_scans,on_scans,off_scans,on_scan_no_edge}, --method {all_scans,on_scans,off_scans,on_scan_no_edge} |
| 61 | + Method to define which scans to extract data from. |
| 62 | + DEFAULT = on_scans_no_edge |
| 63 | + -d ID_SNR, --id-snr ID_SNR |
| 64 | + For identifying on/off scans: Hard SNR threshold for |
| 65 | + differentiating between on/off scans. DEFAULT = 15 |
| 66 | + -t ID_TOL, --id-tol ID_TOL |
| 67 | + For identifying on/off scans: Number of features with |
| 68 | + SNR > threshold to tolerate in off scans. DEFAULT = 3 |
| 69 | + -s SNR_THRESHOLD, --snr-threshold SNR_THRESHOLD |
| 70 | + SNR threshold to remove noise features. DEFAULT = 2 |
| 71 | + -n MIN_SCANS, --min-scans MIN_SCANS |
| 72 | + Minimum number of scans required to be labelled on |
| 73 | + within a well for sample to be taken forward. DEFAULT |
| 74 | + = 0 |
| 75 | + -r RSD_THRESHOLD, --rsd-threshold RSD_THRESHOLD |
| 76 | + RSD filter (scan level): Threshold of RSD of features |
| 77 | + across scans in sample for it to be retained. DEFAULT |
| 78 | + = None |
| 79 | + -fr MIN_FRACTION, --min-fraction MIN_FRACTION |
| 80 | + Minimum fraction a peak has to be present. Use 0.0 to |
| 81 | + not apply this filter. |
| 82 | + -p PPM, --ppm PPM Aligning scans: m/z precision (ppm) to align scans in |
| 83 | + sample - REQUIRED PARAMETER! |
| 84 | + -l METALIST, --metalist METALIST |
| 85 | + Absolute or relative path to the tab-delimited *.txt |
| 86 | + file that include the name of the data files (*.mzml) |
| 87 | + and meta data. Column names: filename, replicate, |
| 88 | + batch, injectionOrder, classLabel. |
0 commit comments