Skip to main content

resid_query

Function resid_query 

Source
pub fn resid_query(residues: &[(String, i32)]) -> Option<(String, usize)>
Expand description

A resid query for residues given as (chain, number) pairs: consecutive numbers share a range (resid 3:7), and each chain is its own scope (an empty chain name has none). Returns the query and the number of distinct residues, or None when there are none.