Gemmi C++ API
Loading...
Searching...
No Matches
Namespaces | Functions
seqtools.hpp File Reference
#include "resinfo.hpp"
#include "metadata.hpp"

Go to the source code of this file.

Namespaces

namespace  gemmi
 

Functions

constexpr double gemmi::h2o_weight ()
 
double gemmi::calculate_sequence_weight (const std::vector< std::string > &seq, double unknown=0.)
 
std::string gemmi::one_letter_code (const std::vector< std::string > &seq)
 
std::string gemmi::pdbx_one_letter_code (const std::vector< std::string > &seq, ResidueKind kind)
 Returns the format used in _entity_poly.pdbx_seq_one_letter_code, in which non-standard amino acids/nucleotides are represented by CCD codes in parenthesis, e.g.
 
ResidueKind gemmi::sequence_kind (PolymerType ptype)
 used with expand_one_letter_sequence()