test_class.file: singa-sequence/src/test/java/bio/singa/sequence/model/NucleotideSequenceTest.java
test_class.identifier: NucleotideSequenceTest
test_case.body: @Test
      void shouldCreateNucleotideSequence() {
          Structure structure = StructureParser.mmtf()
                  .pdbIdentifier("1c0a")
                  .parse();
          NucleotideSequence proteinSequence = NucleotideSequence.of(structure.getFirstChain());
          assertTrue(proteinSequence.getSequenceAsString().isEmpty());
          assertTrue(!NucleotideSequence.of(structure.getFirstModel().getChain("B").get()).getSequenceAsString().isEmpty());
      }
test_case.class_method_signature: NucleotideSequenceTest.shouldCreateNucleotideSequence()
test_case.full_signature: @Test void shouldCreateNucleotideSequence()
test_case.identifier: shouldCreateNucleotideSequence
test_case.invocations: parse pdbIdentifier mmtf of getFirstChain assertTrue isEmpty getSequenceAsString assertTrue isEmpty getSequenceAsString of get getChain getFirstModel
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldCreateNucleotideSequence()
focal_class.declarator: availableFeatures = new HashSet<>()
focal_class.modifier: protected static final
focal_class.original_string: protected static final Set<Class<? extends Feature>> availableFeatures = new HashSet<>();
focal_class.type: Set<Class<? extends Feature>>
focal_class.var_name: availableFeatures
focal_class.file: singa-sequence/src/main/java/bio/singa/sequence/model/NucleotideSequence.java
focal_class.identifier: NucleotideSequence
focal_class.class_method_signature: NucleotideSequence.NucleotideSequence(List<NucleotideFamily> sequence)
focal_class.full_signature: private  NucleotideSequence(List<NucleotideFamily> sequence)
focal_class.identifier: NucleotideSequence
focal_class.modifiers: private
focal_class.parameters: (List<NucleotideFamily> sequence)
focal_class.signature:  NucleotideSequence(List<NucleotideFamily> sequence)
focal_class.class_method_signature: NucleotideSequence.of(List<LeafSubstructure<?>> leafSubstructures)
focal_class.full_signature: public static NucleotideSequence of(List<LeafSubstructure<?>> leafSubstructures)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (List<LeafSubstructure<?>> leafSubstructures)
focal_class.return: NucleotideSequence
focal_class.signature: NucleotideSequence of(List<LeafSubstructure<?>> leafSubstructures)
focal_class.class_method_signature: NucleotideSequence.of(LeafSubstructureContainer leafSubstructureContainer)
focal_class.full_signature: public static NucleotideSequence of(LeafSubstructureContainer leafSubstructureContainer)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (LeafSubstructureContainer leafSubstructureContainer)
focal_class.return: NucleotideSequence
focal_class.signature: NucleotideSequence of(LeafSubstructureContainer leafSubstructureContainer)
focal_class.class_method_signature: NucleotideSequence.of(String sequence)
focal_class.full_signature: public static NucleotideSequence of(String sequence)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (String sequence)
focal_class.return: NucleotideSequence
focal_class.signature: NucleotideSequence of(String sequence)
focal_class.superclass: extends AbstractSequence<NucleotideFamily>
focal_method.body: public static NucleotideSequence of(List<LeafSubstructure<?>> leafSubstructures) {
          List<NucleotideFamily> sequence = leafSubstructures.stream()
                  .filter(Nucleotide.class::isInstance)
                  .map(Nucleotide.class::cast)
                  .map(Nucleotide::getFamily)
                  .collect(Collectors.toList());
          return new NucleotideSequence(sequence);
      }
focal_method.class_method_signature: NucleotideSequence.of(List<LeafSubstructure<?>> leafSubstructures)
focal_method.full_signature: public static NucleotideSequence of(List<LeafSubstructure<?>> leafSubstructures)
focal_method.identifier: of
focal_method.invocations: collect map map filter stream toList
focal_method.modifiers: public static
focal_method.parameters: (List<LeafSubstructure<?>> leafSubstructures)
focal_method.return: NucleotideSequence
focal_method.signature: NucleotideSequence of(List<LeafSubstructure<?>> leafSubstructures)