SequestInfile#
- class pyopenms.SequestInfile#
Bases:
objectOpenMS class SequestInfile
- __init__() None#
- __init__(arg: pyopenms.SequestInfile, /) None
Methods
__init__()addEnzymeInfo(enzyme_info)Adds an enzyme to the list and sets is as used
Returns the used database
Returns the enzyme list as a string
Returns the enzyme used for cleavage
Returns the enzyme used for cleavage (by means of the number from a list of enzymes)
Returns the the cutoff of the ratio matching theoretical peaks/theoretical peaks
Returns the weights for the a-, b-, c-, d-, v-, w-, x-, y- and z-ion series
Returns the mass type of the fragments (0 - monoisotopic, 1 - average mass)
Returns the mass type of the parent (0 - monoisotopic, 1 - average mass)
Returns the number of top abundant peaks that are allowed not to match with a theoretical peak
Returns the number of top abundant peaks to match with theoretical ones
Returns the match peak tolerance
Returns the maximum number of amino acids containing the same modification in a peptide
Returns the maximum number of internal cleavage sites
Returns the maximum number of modifications that are allowed in a peptide
Returns the modifications (the modification names map to the affected residues, the mass change and the type)
Returns whether neutral losses are considered for the a-, b- and y-ions
Returns whether normalized xcorr values are displayed
Returns the nucleotide reading frame
Returns the number of peptides to be displayed
Returns the partial sequences (space delimited) that have to occur in the theoretical spectra
Returns the peak mass tolerance
Returns the peptide mass unit
Returns the precursor mass tolerance
Returns whether all proteins containing a found peptide should be displayed
Returns the protein mass filter (either min and max mass, or mass and tolerance value in percent)
Returns whether peaks near (15 amu) the precursor peak are removed
Returns whether residues are in upper case
Returns the sequences (space delimited) that have to occur, or be absent (preceded by a tilde) in the header of a protein to be considered
Returns whether fragment ions shall be displayed
handlePTMs(modification_line, ...)setDatabase(database)Sets the used database
setEnzyme(enzyme_name)Sets the enzyme used for cleavage (by means of the number from a list of enzymes)
setIonCutoffPercentage(ion_cutoff_percentage)Sets the ion cutoff of the ratio matching theoretical peaks/theoretical peaks
setIonSeriesWeights(ion_series_weights)Sets the weights for the a-, b-, c-, d-, v-, w-, x-, y- and z-ion series
setMassTypeFragment(mass_type_fragment)Sets the mass type of the fragments (0 - monoisotopic, 1 - average mass)
setMassTypeParent(mass_type_parent)Sets the mass type of the parent (0 - monoisotopic, 1 - average mass)
Sets the number of top abundant peaks that are allowed not to match with a theoretical peak
setMatchPeakCount(match_peak_count)Sets the number of top abundant peaks to with theoretical ones
setMatchPeakTolerance(match_peak_tolerance)Sets the match peak tolerance
Sets the maximum number of amino acids containing the same modification in a peptide
Sets the maximum number of internal cleavage sites
setMaxModsPerPeptide(max_mods_per_peptide)Sets the maximum number of modifications that are allowed in a peptide
setNeutralLossesForIons(neutral_losses_for_ions)Sets whether neutral losses are considered for the a-, b- and y-ions
setNormalizeXcorr(normalize_xcorr)Sets whether normalized xcorr values are displayed
Sets the nucleotide reading frame
setOutputLines(output_lines)Sets the number of peptides to be displayed
setPartialSequence(partial_sequence)Sets the partial sequences (space delimited) that have to occur in the theoretical spectra
setPeakMassTolerance(peak_mass_tolerance)Sets the peak mass tolerance
setPeptideMassUnit(peptide_mass_unit)Sets the peptide mass unit
Sets the precursor mass tolerance
Sets whether all proteins containing a found peptide should be displayed
setProteinMassFilter(protein_mass_filter)Sets the protein mass filter (either min and max mass, or mass and tolerance value in percent)
Sets whether peaks near (15 amu) the precursor peak are removed
setResiduesInUpperCase(residues_in_upper_case)Sets whether residues are in upper case
setSequenceHeaderFilter(sequence_header_filter)Sets the sequences (space delimited) that have to occur, or be absent (preceded by a tilde) in the header of a protein to be considered
setShowFragmentIons(show_fragments)Sets whether fragment ions shall be displayed
store(filename)Stores the experiment data in a Sequest input file that can be used as input for Sequest shell execution
- addEnzymeInfo(enzyme_info: list[str]) None#
Adds an enzyme to the list and sets is as used
- getDatabase() str#
Returns the used database
- getEnzymeInfoAsString() str#
Returns the enzyme list as a string
- getEnzymeName() str#
Returns the enzyme used for cleavage
- getEnzymeNumber() int#
Returns the enzyme used for cleavage (by means of the number from a list of enzymes)
- getIonCutoffPercentage() float#
Returns the the cutoff of the ratio matching theoretical peaks/theoretical peaks
- getIonSeriesWeights() str#
Returns the weights for the a-, b-, c-, d-, v-, w-, x-, y- and z-ion series
- getMassTypeFragment() bool#
Returns the mass type of the fragments (0 - monoisotopic, 1 - average mass)
- getMassTypeParent() bool#
Returns the mass type of the parent (0 - monoisotopic, 1 - average mass)
- getMatchPeakAllowedError() int#
Returns the number of top abundant peaks that are allowed not to match with a theoretical peak
- getMatchPeakCount() int#
Returns the number of top abundant peaks to match with theoretical ones
- getMatchPeakTolerance() float#
Returns the match peak tolerance
- getMaxAAPerModPerPeptide() int#
Returns the maximum number of amino acids containing the same modification in a peptide
- getMaxInternalCleavageSites() int#
Returns the maximum number of internal cleavage sites
- getMaxModsPerPeptide() int#
Returns the maximum number of modifications that are allowed in a peptide
- getModifications() dict[str, list[str]]#
Returns the modifications (the modification names map to the affected residues, the mass change and the type)
- getNeutralLossesForIons() str#
Returns whether neutral losses are considered for the a-, b- and y-ions
- getNormalizeXcorr() bool#
Returns whether normalized xcorr values are displayed
- getNucleotideReadingFrame() int#
Returns the nucleotide reading frame
- getOutputLines() int#
Returns the number of peptides to be displayed
- getPartialSequence() str#
Returns the partial sequences (space delimited) that have to occur in the theoretical spectra
- getPeakMassTolerance() float#
Returns the peak mass tolerance
- getPeptideMassUnit() int#
Returns the peptide mass unit
- getPrecursorMassTolerance() float#
Returns the precursor mass tolerance
- getPrintDuplicateReferences() bool#
Returns whether all proteins containing a found peptide should be displayed
- getProteinMassFilter() str#
Returns the protein mass filter (either min and max mass, or mass and tolerance value in percent)
- getRemovePrecursorNearPeaks() bool#
Returns whether peaks near (15 amu) the precursor peak are removed
- getResiduesInUpperCase() bool#
Returns whether residues are in upper case
- getSequenceHeaderFilter() str#
Returns the sequences (space delimited) that have to occur, or be absent (preceded by a tilde) in the header of a protein to be considered
- getShowFragmentIons() bool#
Returns whether fragment ions shall be displayed
- handlePTMs(modification_line: str, modifications_filename: str, monoisotopic: bool) None#
- setDatabase(database: str) None#
Sets the used database
- setEnzyme(enzyme_name: str) int#
Sets the enzyme used for cleavage (by means of the number from a list of enzymes)
- setIonCutoffPercentage(ion_cutoff_percentage: float) None#
Sets the ion cutoff of the ratio matching theoretical peaks/theoretical peaks
- setIonSeriesWeights(ion_series_weights: str) None#
Sets the weights for the a-, b-, c-, d-, v-, w-, x-, y- and z-ion series
- setMassTypeFragment(mass_type_fragment: bool) None#
Sets the mass type of the fragments (0 - monoisotopic, 1 - average mass)
- setMassTypeParent(mass_type_parent: bool) None#
Sets the mass type of the parent (0 - monoisotopic, 1 - average mass)
- setMatchPeakAllowedError(match_peak_allowed_error: int) None#
Sets the number of top abundant peaks that are allowed not to match with a theoretical peak
- setMatchPeakCount(match_peak_count: int) None#
Sets the number of top abundant peaks to with theoretical ones
- setMatchPeakTolerance(match_peak_tolerance: float) None#
Sets the match peak tolerance
- setMaxAAPerModPerPeptide(max_aa_per_mod_per_peptide: int) None#
Sets the maximum number of amino acids containing the same modification in a peptide
- setMaxInternalCleavageSites(max_internal_cleavage_sites: int) None#
Sets the maximum number of internal cleavage sites
- setMaxModsPerPeptide(max_mods_per_peptide: int) None#
Sets the maximum number of modifications that are allowed in a peptide
- setNeutralLossesForIons(neutral_losses_for_ions: str) None#
Sets whether neutral losses are considered for the a-, b- and y-ions
- setNormalizeXcorr(normalize_xcorr: bool) None#
Sets whether normalized xcorr values are displayed
- setNucleotideReadingFrame(nucleotide_reading_frame: int) None#
Sets the nucleotide reading frame
- setOutputLines(output_lines: int) None#
Sets the number of peptides to be displayed
- setPartialSequence(partial_sequence: str) None#
Sets the partial sequences (space delimited) that have to occur in the theoretical spectra
- setPeakMassTolerance(peak_mass_tolerance: float) None#
Sets the peak mass tolerance
- setPeptideMassUnit(peptide_mass_unit: int) None#
Sets the peptide mass unit
- setPrecursorMassTolerance(precursor_mass_tolerance: float) None#
Sets the precursor mass tolerance
- setPrintDuplicateReferences(print_duplicate_references: bool) None#
Sets whether all proteins containing a found peptide should be displayed
- setProteinMassFilter(protein_mass_filter: str) None#
Sets the protein mass filter (either min and max mass, or mass and tolerance value in percent)
- setRemovePrecursorNearPeaks(remove_precursor_near_peaks: bool) None#
Sets whether peaks near (15 amu) the precursor peak are removed
- setResiduesInUpperCase(residues_in_upper_case: bool) None#
Sets whether residues are in upper case
- setSequenceHeaderFilter(sequence_header_filter: str) None#
Sets the sequences (space delimited) that have to occur, or be absent (preceded by a tilde) in the header of a protein to be considered
- setShowFragmentIons(show_fragments: bool) None#
Sets whether fragment ions shall be displayed
- store(filename: str) None#
Stores the experiment data in a Sequest input file that can be used as input for Sequest shell execution
- Parameters:
filename – the name of the file in which the infile is stored into