-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
186 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Generate AE or DE file | ||
|
||
## DE | ||
### use case | ||
- PRIDE projet(make sure you have run the `project_command.py`) | ||
|
||
``` | ||
python differential_expression_command.py | ||
--msstats_file PXD014414.sdrf_openms_design_msstats_in_comparisons.csv | ||
--project_file result/PXD014414.json | ||
--sdrf_file PXD014414.sdrf.tsv | ||
--output_folder result | ||
``` | ||
|
||
- Non-PRIDE project(Don't not need to run the `project_command.py`) | ||
|
||
``` | ||
python differential_expression_command.py | ||
--msstats_file PXD014414.sdrf_openms_design_msstats_in_comparisons.csv | ||
--generate_project False | ||
--sdrf_file PXD014414.sdrf.tsv | ||
--output_folder result | ||
``` | ||
|
||
### Optional parameter | ||
- --fdr_threshold FDR threshold to use to filter the results | ||
- --output_prefix_file Prefix of the df expression file | ||
- --delete_existing Delete existing files in the output folder | ||
|
||
## AE | ||
### use case | ||
- PRIDE projet(make sure you have run the `project_command.py`) | ||
|
||
``` | ||
python absolute_expression_command.py | ||
--ibaq_file PXD004452-ibaq.csv | ||
--project_file result/PXD004452.json | ||
--output_folder result | ||
``` | ||
|
||
- Non-PRIDE project(Don't not need to run the `project_command.py`) | ||
|
||
``` | ||
python absolute_expression_command.py | ||
--ibaq_file PXD004452-ibaq.csv | ||
--generate_project False | ||
--output_folder result | ||
``` | ||
|
||
### Optional parameter | ||
- --output_prefix_file Prefix of the df expression file | ||
- --delete_existing Delete existing files in the output folder | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generate feature.parquet | ||
|
||
## Use cases | ||
- pride projet(make sure you have run the `project_command.py`) | ||
|
||
```python | ||
python feature_command.py | ||
--sdrf_file PXD014414.sdrf.tsv | ||
--msstats_file PXD014414.sdrf_openms_design_msstats_in.csv | ||
--mztab_file PXD014414.sdrf_openms_design_openms.mzTab | ||
--output_folder result | ||
``` | ||
|
||
- Non-PRIDE project(Don't not need to run the `project_command.py`) | ||
|
||
```python | ||
python feature_command.py | ||
--sdrf_file PXD014414.sdrf.tsv | ||
--msstats_file PXD014414.sdrf_openms_design_msstats_in.csv | ||
--mztab_file PXD014414.sdrf_openms_design_openms.mzTab | ||
--generate_project False | ||
--output_folder result | ||
``` | ||
|
||
### Optional parameter | ||
- --use_cache Whether to use disk instead of memory. | ||
- --output_prefix_file The prefix of the result file. | ||
- --consensusxml_file The consensusXML file used to retrieve the mz/rt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## generate_spectra_message | ||
### Use case | ||
generate_spectra_message support psm and parquet. | ||
Since the result file is too large, you can specify --partition to split the result file. | ||
|
||
``` | ||
python generate_spectra_message_command.py | ||
--parquet_path PXD014414-f4fb88f6-0a45-451d-a8a6-b6d58fb83670.psm.parquet | ||
--mzml_directory mzmls | ||
--output_path psm/PXD014414.parquet | ||
--label psm | ||
--partition charge | ||
``` | ||
|
||
## get_unanimous_name | ||
### use case | ||
get_unanimous_name support parquet and tsv. | ||
For parquet, map_parameter have two option (map_protein_name or map_protein_accession), and the label controls whether it is PSM or Feature. | ||
|
||
- parquet | ||
``` | ||
python get_unanimous_command.py map-unanimous-for-parquet | ||
--parquet_path PXD014414-f4fb88f6-0a45-451d-a8a6-b6d58fb83670.psm.parquet | ||
--fasta Reference fasta database | ||
--output_path psm/PXD014414.psm.parquet | ||
--map_parameter map_protein_name | ||
--label psm | ||
``` | ||
|
||
- tsv | ||
``` | ||
python get_unanimous_command.py get-unanimous-for-tsv | ||
--path PXD014414-c2a52d63-ea64-4a64-b241-f819a3157b77.differential.tsv | ||
--fasta Reference fasta database | ||
--output_path psm/PXD014414.de.tsv | ||
--map_parameter map_protein_name | ||
``` | ||
|
||
## compare parquet_of_pqrquet | ||
### use case | ||
``` | ||
python parquet_command.py | ||
--parquet_path_one res_lfq2_discache.parquet | ||
--parquet_path_two res_lfq2_no_cache.parquet | ||
--report_path report.txt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Generate project.json | ||
|
||
## use case | ||
``` | ||
python project_command.py | ||
--project_accession PXD014414 | ||
--sdrf PXD014414.sdrf.tsv | ||
--quantms_version 1.12 | ||
--output_folder result | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generate Psm.parquet or compare psm.parquet | ||
|
||
## Generate Psm.parquet | ||
### Use cases | ||
- PRIDE projet(make sure you have run the `project_command.py`) | ||
|
||
``` | ||
python psm_command.py convert-psm-file | ||
--mztab_file PXD014414.sdrf_openms_design_openms.mzTab | ||
--output_folder result | ||
``` | ||
|
||
- Non-PRIDE project(Don't not need to run the `project_command.py`) | ||
|
||
``` | ||
python feature_command.py convert-psm-file | ||
--mztab_file PXD014414.sdrf_openms_design_openms.mzTab | ||
--generate_project False | ||
--output_folder result | ||
``` | ||
|
||
### Optional parameter | ||
- --output_prefix_file The prefix of the result file. | ||
- --verbose Output debug information. | ||
|
||
## Compare psm.parquet | ||
### Use case | ||
``` | ||
python feature_command.py compare-set-of-psms | ||
--parquets PXD014414-comet.parquet PXD014414-sage.parquet PXD014414-msgf.parquet | ||
--tags comet sage msgf | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters