Skip to content

Commit

Permalink
Merge pull request #64 from bigbio/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ypriverol authored Jun 3, 2024
2 parents 20f2a59 + 715a4b8 commit 9a10435
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ python compute_tpa --fasta Homo-sapiens-uniprot-reviewed-contaminants-decoy-2022
```

```asciidoc
python compute_tpa --help
Usage: compute_tpa [OPTIONS]
ibaqpyc tpa --help
Usage: tpa [OPTIONS]

Compute the protein copy numbers and concentrations according to a file output of peptides with the
format described in peptide_normalization.py.
Expand Down
16 changes: 16 additions & 0 deletions ibaqpy/ibaq/peptide_normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,22 @@ def peptide_normalization(
log2: bool,
save_parquet: bool,
) -> None:
"""
:param parquet: Parquet file with features
:param sdrf: SDRF file
:param min_aa: Min amino acids
:param min_unique: Min of unique peptides
:param remove_ids: Remove features for the given proteins
:param remove_decoy_contaminants: Remove contaminants and entrapment
:param remove_low_frequency_peptides: Remove low frecuency peptides
:param output: Output file
:param skip_normalization: Skip normalization
:param nmethod: normalization method for features
:param pnmethod: peptide normalization method
:param log2: log intensities for features before normalizing
:param save_parquet: Save to parque file.
"""
if os.path.exists(output):
raise FileExistsError("The output file already exists.")

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

version = "0.0.3"


def readme():
with open("README.md") as f:
return f.read()
Expand Down

0 comments on commit 9a10435

Please sign in to comment.