Diffacto: Differential Factor Analysis for Comparative Shotgun Proteomics
Requirements
Anaconda Python3.5+
Packages needed:
numpy 1.10+
scipy 0.17+
pandas 0.18+
networkx 1.10+
scikit-learn 0.17+
pyteomics 3.3+
Installation via pip
pip install diffacto
Usage
diffacto.py [-h] -i I [-db [DB]] [-samples [SAMPLES]] [-log2 LOG2]
[-normalize {average,median,GMM,None}]
[-farms_mu FARMS_MU] [-farms_alpha FARMS_ALPHA]
[-reference REFERENCE] [-min_samples MIN_SAMPLES]
[-use_unique USE_UNIQUE]
[-impute_threshold IMPUTE_THRESHOLD]
[-cutoff_weight CUTOFF_WEIGHT] [-fast FAST] [-out OUT]
[-mc_out MC_OUT]
optional arguments:
-h, --help show this help message and exit
-i I Peptides abundances in CSV format. The first row
should contain names for all samples. The first column
should contain unique peptide sequences. Missing
values should be empty instead of zeros. (default:
None)
-db [DB] Protein database in FASTA format. If None, the peptide
file must have protein ID(s) in the second column.
(default: None)
-samples [SAMPLES] File of the sample list. One run and its sample group
per line, separated by tab. If None, read from peptide
file headings, then each run will be summarized as a
group. (default: None)
-log2 LOG2 Input abundances are in log scale (True) or linear
scale (False) (default: False)
-normalize {average,median,GMM,None}
Method for sample-wise normalization. (default: None)
-farms_mu FARMS_MU Hyperparameter mu (default: 0.1)
-farms_alpha FARMS_ALPHA
Hyperparameter weight of prior probability (default:
0.1)
-reference REFERENCE Names of reference sample groups (separated by
semicolon) (default: average)
-min_samples MIN_SAMPLES
Minimum number of samples peptides needed to be
quantified in (default: 1)
-use_unique USE_UNIQUE
Use unique peptides only (default: False)
-impute_threshold IMPUTE_THRESHOLD
Minimum fraction of missing values in the group.
Impute missing values if missing fraction is larger
than the threshold. (default: 0.99)
-cutoff_weight CUTOFF_WEIGHT
Peptides weighted lower than the cutoff will be
excluded (default: 0.5)
-fast FAST Allow early termination in EM calculation when noise
is sufficiently small. (default: False)
-out OUT Path to output file (writing in TSV format).
-mc_out MC_OUT Path to MCFDR output (writing in TSV format).
(default: None)
Example
Examples are given in the example directory.
Metadata
Release files for diffacto 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| diffacto-1.0.7.tar.gz | 15.5 kB | Without provenance | Details for diffacto-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| diffacto-1.0.7-py36-none-any.whl | Python 3.6 | none | any | Details for diffacto-1.0.7-py36-none-any.whl |
Total release size: 29.4 kB
Release files / diffacto-1.0.7.tar.gz
| Download URL | diffacto-1.0.7.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7390eb69211893fa9790618d130eb733f93208e98ea17c6ac191ab29954c3cab
|
|
BLAKE2b-256 checksum How to use checksums |
f026070cb7954d26a84cecdf3ac6a74d274d6211ea4d7b60caaf4d6e2443a27b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/7.0.1 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.10.9
|
Release files / diffacto-1.0.7-py36-none-any.whl
| Download URL | diffacto-1.0.7-py36-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3.6 |
|
SHA-256 checksum How to use checksums |
dd9a8b90a9a3bb6047d374c13b6c49f058843c34768ecba4c8130ae5c858ce20
|
|
BLAKE2b-256 checksum How to use checksums |
4236f95a55b720243fa549fbb25d9ddee98035bbcc4a35fef18525e7ce69a57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/7.0.1 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.10.9
|
Security for diffacto 1.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.