Class SecStrucTools


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

      • SecStrucTools

        public SecStrucTools()
    • Method Detail

      • getSecStrucInfo

        public static java.util.List<SecStrucInfo> getSecStrucInfo​(Structure s)
        Obtain the List of secondary structure information (SecStrucInfo) of a Structure.
        Parameters:
        s - Structure with SS assignments
        Returns:
        List of SecStrucInfo objects
      • assignSecStruc

        public static void assignSecStruc​(Structure s,
                                          java.util.List<SecStrucInfo> listSSI)
      • getSecStrucElements

        public static java.util.List<SecStrucElement> getSecStrucElements​(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 java.util.List<SecStrucElement> getSecStrucElements​(java.util.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