You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//! Count elemental composition of an unmodificed sequence of amino acids.
33
+
//! Count elemental composition of an unmodificed sequence of amino acids, resulting in CHNOSSe counts.
34
34
/*!
35
-
WARNING!!! This function does deal with any questions regarding Water.
36
-
If you pass in a sequence (from a fasta, but someone here does not discern between the two), add water yourself. If you pass in a b or y fragment, add water yourself.
35
+
WARNING!!! This function does not add the terminating H and OH groups, resulting in a residue backbone skeleton formula.
36
+
If you don't know what that means, you should probably be using parse_fasta_full function.
37
37
*/
38
38
inlinevoidparse_fasta(constchar* fasta, int atomCounts[6])
//! Count elemental composition of an unmodified (stripped and hot) sequeqnce.
50
+
//! Turn an input FASTA aminoacid sequence into atom counts, in CHNOSSe order.
51
51
/*!
52
-
This function adds the missing water.
52
+
Unlike parse_fasta, this function includes the H and OH groups at the N- and C- termini of the skeleton, resulting in a formula of a full (inert) molecule.
53
53
*/
54
-
inlinevoidatom_counts_from_unmodified_sequence(constchar* fasta, int atomCounts[6])
54
+
inlinevoidparse_fasta_full(constchar* fasta, int atomCounts[6])
55
55
{
56
56
parse_fasta(fasta, atomCounts)
57
57
// Add terminal water (H2O) for either precursor or fragment.
0 commit comments