SequestOutfile#
- class pyopenms.SequestOutfile#
Bases:
objectRepresentation of a Sequest output file
- __init__() None#
- __init__(arg: pyopenms.SequestOutfile, /) None
Methods
__init__()getACAndACType(line)Retrieves the accession type and accession number from a protein description line
getColumns(line, number_of_columns, ...)Retrieves columns from a Sequest outfile line
getSequences(database_filename, ac_position_map)Retrieves sequences from a FASTA database.
load(result_filename, ...)Loads data from a Sequest outfile
- getACAndACType(line: str) tuple[str, str]#
Retrieves the accession type and accession number from a protein description line
- getColumns(line: str, number_of_columns: int, reference_column: int) list[str]#
Retrieves columns from a Sequest outfile line
- getSequences(database_filename: str, ac_position_map: dict[str, int]) tuple#
Retrieves sequences from a FASTA database. Returns (sequences, found, not_found)
- load(result_filename: str, peptide_identifications: pyopenms.PeptideIdentificationList, protein_identification: pyopenms.ProteinIdentification, p_value_threshold: float, database: str, ignore_proteins_per_peptide: bool) list[float]#
Loads data from a Sequest outfile
- Parameters:
result_filename – The file to be loaded
peptide_identifications – The identifications
protein_identification – The protein identifications
p_value_threshold – The significance level (for the peptide hit scores)
database – The database used for the search
ignore_proteins_per_peptide – This is a hack to deal with files that use a suffix like “+1” in column “Reference”, but do not actually list extra protein references in subsequent lines
- Returns:
A list with the pvalues of the peptides (pvalues computed with peptide prophet)