Sails::WURCS
class Sails::WURCS
Summary
Members | Descriptions |
---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Get key from map using predicate, used to query a linkage or residue database. |
Members
public
WURCS
() = default
public static std::string
generate_wurcs
(
Glycan
* glycan, ResidueDatabase & residue_database)
public static
PseudoGlycan
generate_pseudo_glycan
(const std::string & wurcs, gemmi::Structure * structure,
Glycosite
& glycosite, LinkageDatabase & linkage_database, ResidueDatabase & residue_database)
private static std::string
get_unit_count
(
Sails::Glycan
* glycan)
private static std::string
get_unique_residue_list
(
Sails::Glycan
* glycan, Sails::ResidueDatabase & residue_database)
private static std::string
get_residue_order
(
Sails::Glycan
* glycan, Sails::ResidueDatabase & residue_database)
private static std::string
get_link_list
(
Sails::Glycan
* glycan, Sails::ResidueDatabase & residue_database)
private inline static std::string
get_wurcs_header
()
private inline static std::string
get_section_delimiter
()
private static std::vector< int >
calculate_residue_order
(
Glycan
* glycan, ResidueDatabase & residue_database)
private static std::vector< std::string >
extract_wurcs_unique_residues
(const std::string & wurcs)
private static std::vector< int >
extract_wurcs_residue_order
(const std::string & wurcs)
private static std::vector< std::string >
extract_wurcs_linkage_order
(const std::string & wurcs)
private static std::vector< std::string >
form_residue_name_order
(ResidueDatabase & residue_database, std::vector< std::string > unique_residues, std::vector< int > residue_order)
private static gemmi::Structure
generate_pseudo_structure
()
private static void
add_linkage_to_pseudo_glycan
(std::vector<
Sails::Glycosite
> & glycosites,
Sails::PseudoGlycan
& pseudo_glycan, const std::string & linkage_string)
private template<>
static std::optional< key >
get_key
(const std::map< key, value > & map, Predicate predicate)
Get key from map using predicate, used to query a linkage or residue database.
Parameters
map
The map to get a key frompredicate
Predicate to search using
Returns
optional key