Skip to content

Commit 09273b9

Browse files
committed
REmove the feature commands -> quantms-rescoring
1 parent 04d2af6 commit 09273b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

quantmsutils/diann/diann2mztab.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def diann2mztab(
7777
:type missed_cleavages: int
7878
:param qvalue_threshold: Threshold for filtering q value
7979
:type qvalue_threshold: float
80+
:param enable_diann2mztab: Enable conversion to mzTab
8081
"""
8182
logger.debug(f"Revision {REVISION}")
8283
logger.debug("Reading input files...")
@@ -714,11 +715,6 @@ def mztab_prh(report, pg, index_ref, database, fasta_df, diann_version):
714715
f" input index_ref shape: {index_ref.shape},"
715716
f" input fasta_df shape: {fasta_df.shape}"
716717
)
717-
# DIA-NN 2.0 PG file doesn't have Protein IDs column
718-
if "2.0" not in diann_version:
719-
file = list(pg.columns[5:])
720-
else:
721-
file = list(pg.columns[4:])
722718

723719
logger.debug("Classifying results type ...")
724720
pg["opt_global_result_type"] = "single_protein"

0 commit comments

Comments
 (0)