masskit package¶
Subpackages¶
- masskit.apps package
- masskit.conf package
- masskit.data_specs package
- Submodules
- masskit.data_specs.arrow_types module
JSONArrowArray
JSONArrowScalarType
JSONArrowType
MasskitArrowArray
MasskitPandasArray
MasskitPandasDtype
MolArrowArray
MolArrowScalarType
MolArrowType
MolPandasArray
MolPandasDtype
PathArrowType
PathPandasArray
PathPandasDtype
SpectrumArrowArray
SpectrumArrowScalarType
SpectrumArrowType
SpectrumPandasArray
SpectrumPandasDtype
- masskit.data_specs.file_schemas module
- masskit.data_specs.schemas module
- masskit.data_specs.spectral_library module
- Module contents
- masskit.peptide package
- masskit.small_molecule package
- masskit.spectra package
- Submodules
- masskit.spectra.ions module
HiResIons
Ions
Ions.annotations
Ions.cast_intensity()
Ions.cast_mz()
Ions.clear_and_intersect()
Ions.clear_computed_properties()
Ions.copy()
Ions.copy_annot()
Ions.cosine_score()
Ions.evenly_space()
Ions.filter()
Ions.half_tolerance()
Ions.intensity
Ions.intersect()
Ions.ions2array()
Ions.join
Ions.mask()
Ions.mask_ions()
Ions.mass_type
Ions.merge()
Ions.mz
Ions.neutral_loss
Ions.neutral_loss_charge
Ions.norm()
Ions.num_ions()
Ions.parent_filter()
Ions.rank
Ions.rank_ions()
Ions.shift_mz()
Ions.stddev
Ions.tolerance
Ions.tolerance_type
Ions.total_intensity()
Ions.windowed_filter()
IonsIterator
MassInfo
cosine_score_calc()
dedup_matches()
intersect_hires()
my_intersect1d()
nce2ev()
- masskit.spectra.ipython module
- masskit.spectra.join module
- masskit.spectra.spectrum_plotting module
- masskit.spectra.theoretical_spectrum module
- Module contents
- masskit.test_fixtures package
- Submodules
- masskit.test_fixtures.demo_fixtures module
- Module contents
SRM1950_lumos_recordbatch()
SRM1950_lumos_short_parquet()
SRM1950_lumos_short_sdf()
SRM1950_lumos_structarray()
SRM1950_lumos_table()
batch_converted_csv_files()
batch_converted_csv_path_file()
batch_converted_plain_sdf_files()
batch_converted_pubchem_sdf_files()
batch_converted_sdf_files()
cho_uniq_short_msp()
cho_uniq_short_parquet()
cho_uniq_short_recordbatch()
cho_uniq_short_structarray()
cho_uniq_short_table()
config_batch_converter_csv()
config_batch_converter_plain_sdf()
config_batch_converter_pubchem_sdf()
config_batch_converter_sdf()
config_fasta2peptides()
config_reactor()
config_shortest_path_csv()
create_peptide_parquet_file()
data_dir()
human_uniprot_trunc_fasta()
human_uniprot_trunc_parquet()
plain_sdf()
pubchem_sdf()
reactants()
test_csv()
test_molecules()
test_new_sdf()
test_num_tautomers()
test_products()
test_reactants()
- masskit.utils package
- Subpackages
- Submodules
- masskit.utils.accumulator module
- masskit.utils.arrow module
- masskit.utils.files module
BatchFileReader
BatchFileWriter
BatchLoader
CSVLoader
MGFLoader
MSPLoader
MzTab_Reader
SDFLoader
add_row_to_records()
create_table_with_mod_dict()
empty_records()
get_progress()
load_default_config_schema()
load_mzTab()
parse_energy()
parse_glycopeptide_annot()
read_parquet()
records2table()
seek_size()
spectra_to_array()
spectrum2mgf()
spectrum2msp()
write_parquet()
- masskit.utils.fingerprints module
- masskit.utils.general module
- masskit.utils.hitlist module
- masskit.utils.index module
- masskit.utils.spectrum_writers module
- masskit.utils.tablemap module
ArrowLibraryMap
ArrowLibraryMap.create_dict()
ArrowLibraryMap.from_mgf()
ArrowLibraryMap.from_msp()
ArrowLibraryMap.from_parquet()
ArrowLibraryMap.from_sdf()
ArrowLibraryMap.get_ids()
ArrowLibraryMap.getitem_by_id()
ArrowLibraryMap.getitem_by_row()
ArrowLibraryMap.getrow_by_id()
ArrowLibraryMap.to_arrow()
ArrowLibraryMap.to_csv()
ArrowLibraryMap.to_mgf()
ArrowLibraryMap.to_mzxml()
ArrowLibraryMap.to_pandas()
ArrowLibraryMap.to_parquet()
ListLibraryMap
PandasLibraryMap
TableMap
- masskit.utils.tables module
- Module contents
Submodules¶
masskit.data module¶
- class masskit.data.Alphabet(chars, encoding=None, mask=False, missing=255)¶
Bases:
object
- decode(x)¶
decode index array, x, to byte string of this alphabet
- encode(x, count=-1)¶
encode a string into alphabet indices
- get_kmer(h, k)¶
retrieve byte string of length k decoded from integer h
- unpack(h, k)¶
unpack integer h into array of this alphabet with length k
- class masskit.data.MSDictionary¶
Bases:
object
- create_df()¶
- create_dictionary(fill_value=None)¶
create a dictionary array
- Parameters:
fill_value – pandas doesn’t allow None as a category value, so use the fill value
- create_id2row()¶
create a dictionary that maps the unique id field to a row number
- class masskit.data.SDM12(mask=False)¶
Bases:
Alphabet
A D KER N TSQ YF LIVM C W H G P See https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2732308/#B33 “Reduced amino acid alphabets exhibit an improved sensitivity and selectivity in fold assignment” Peterson et al. 2009. Bioinformatics.