convert_mass_moles
Convert a mass of a molecule to an amount in moles and a number of molecules, or an amount back to a mass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | the mass to convert. Leave it or `amount` empty: the empty one is calculated. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| amount | No | the amount in moles to convert. Leave it or `mass` empty. | |
| strands | No | which strands of the open record to weigh. From the record weighs both strands of DNA and the one strand of an RNA (U and no T); choose one strand for an oligo. Values: record (From the record), double (Both strands), single (One strand). Only applies when molecular_weight is not given. | record |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| mass_unit | No | the unit of the mass, given or solved. | ng |
| amount_unit | No | the unit of the amount, given or solved. | pmol |
| molecular_weight | No | g/mol. Leave empty to weigh the open record from its sequence; give it for a molecule that is not open. In g/mol. Advanced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | Yes | the mass, in its unit | |
| amount | Yes | the amount in moles, in its unit | |
| copies | Yes | number of molecules | |
| molecularWeight | Yes | the weight used |