Skip to content
/ ChemW Public template

A rigorous software for determining the molecular weight of minerals, chemicals, and peptides

License

Notifications You must be signed in to change notification settings

freiburgermsu/ChemW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculating the Molecular Weight from a Chemical Formula, Common Name, or Protein Sequence

PyPI version Actions Status Documentation Status Downloads License

The ChemW library contains three packages, each with a distinct use-case, which are detailed in the following sections.

The ChemMW package parses any chemical formula that adheres to chemical conventions -- which can consist of any combination of elements and decimal stoichiometry -- and calculates the MW of the chemical formula with the most accurate elemental masses that are available, per the chemicals module. The MW is precisely constrained to the significant digits of constituent elements in the chemical formula.

The Proteins and PHREEQdg packages are applications of the ChemMW package. The Proteins package returns the mass of a protein by either parsing a string of a protein sequence, or by parsing a FASTA-formatted file. This is applied in the Codons module for genome-scale biology and bioengineering. The PHREEQdb package parses a PHREEQ database, calculates the MW of each mineral in the database, and exports a JSON of all mineral masses from the database. This is pivotally applied in the PHREEQC databases of the ROSSpy module for reverse osmosis research.

The ChemW library is offered with the MIT License. Examples of the module are available in the examples directory of the ChemW GitHub repository. Please submit errors or inaccuracies as GitHub issues so that they may be resolved.

Installation

The following command installs ChemW in a command prompt/terminal environment:

pip install chemw

The full documentation is available on ReadTheDocs.

About

A rigorous software for determining the molecular weight of minerals, chemicals, and peptides

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages