Class SecStrucTools


  • public class SecStrucTools
    extends Object
    This class contains methods for obtaining and converting secondary structure information from BioJava Structures.
    Since:
    4.1.1
    Author:
    Aleix Lafita
    • Method Detail

      • getSecStrucInfo

        public static List<SecStrucInfogetSecStrucInfo​(Structure s)
        Obtain the List of secondary structure information (SecStrucInfo) of a Structure.
        Parameters:
        s - Structure with SS assignments
        Returns:
        List of SecStrucInfo objects
      • getSecStrucElements

        public static List<SecStrucElementgetSecStrucElements​(Structure s)
        Obtain the List of secondary structure elements (SecStrucElement) of a Structure.
        Parameters:
        s - Structure with SS assignments
        Returns:
        List of SecStrucElement objects
      • getSecStrucElements

        public static List<SecStrucElementgetSecStrucElements​(List<Group> groups)
        Obtain the List of secondary structure elements (SecStrucElement) of a List of Groups (assumed to be sequential, this is, connected in the original Structure).
        Parameters:
        groups - Structure with SS assignments
        Returns:
        List of SecStrucElement objects