Class SecStrucTools

java.lang.Object
org.biojava.nbio.structure.secstruc.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
  • Constructor Details

    • SecStrucTools

      public SecStrucTools()
  • Method Details

    • getSecStrucInfo

      public static 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
    • getSecStrucElements

      public static 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 List<SecStrucElement> getSecStrucElements(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