Class BioSourceToSampleTransformer

  • All Implemented Interfaces:
    SourceItemTransformer

    public class BioSourceToSampleTransformer
    extends AbstractSourceItemTransformer
    Source item transformer that transform biosource items to their child samples. This implementation will only transform to the biosource:s immediate child samples. Grandchildren are not included. To do this, combine this transformed with a SampleToChildSampleTransformer.
    Since:
    3.5
    Author:
    Nicklas
    • Constructor Detail

      • BioSourceToSampleTransformer

        public BioSourceToSampleTransformer()
    • Method Detail

      • transform

        public Set<Integer> transform​(TransformContext context,
                                      Set<Integer> source)
        Load the ID of all samples that are immediate children to the given set of biosources.