The abbreviated name for the given resource name, or "X" if no abbreviation is found.
Example
import { getResName1 } from"@i-vresse/haddock3-ui/getResName1"; getResName1("ALA"); // "A" getResName1("DA"); // "A" getResName1("A"); // "A" getResName1("UNK"); // "X"
Retrieves the character for a given residue name.
Besides amino acids, this function also supports charm forcefield, amber forcefield, DNA nucleotides and RNA nucleotides.