UNPKG

@nfdi4plants/swate-components

Version:

Customizable React components for ontology annotation, based on Swate and the ARC.

89 lines 5.59 kB
import { FSharpList } from '@fable-org/fable-library-js/List.js'; import { Protocol } from './Protocol.fs.js'; import { Process } from './Process.fs.js'; import { ProcessInput_$union } from './ProcessInput.fs.js'; import { ProcessParameterValue } from './ProcessParameterValue.fs.js'; import { ProtocolParameter } from './ProtocolParameter.fs.js'; import { ProcessOutput_$union } from './ProcessOutput.fs.js'; import { MaterialAttribute } from './MaterialAttribute.fs.js'; import { MaterialAttributeValue } from './MaterialAttributeValue.fs.js'; import { FactorValue } from './FactorValue.fs.js'; import { Factor } from './Factor.fs.js'; import { OntologyAnnotation } from '../OntologyAnnotation.fs.js'; import { Data } from '../Data.fs.js'; import { Source } from './Source.fs.js'; import { Sample } from './Sample.fs.js'; import { Material } from './Material.fs.js'; /** * Returns the names of the protocols the given processes impelement */ export declare function getProtocolNames(processSequence: FSharpList<Process>): FSharpList<string>; /** * Returns the protocols the given processes impelement */ export declare function getProtocols(processSequence: FSharpList<Process>): FSharpList<Protocol>; /** * Returns a list of the processes, containing only the ones executing a protocol for which the predicate returns true */ export declare function filterByProtocolBy(predicate: ((arg0: Protocol) => boolean), processSequence: FSharpList<Process>): FSharpList<Process>; /** * Returns a list of the processes, containing only the ones executing a protocol with the given name */ export declare function filterByProtocolName(protocolName: string, processSequence: FSharpList<Process>): FSharpList<Process>; /** * If the processes contain a process implementing the given parameter, return the list of input files together with their according parameter values of this parameter */ export declare function getInputsWithParameterBy(predicate: ((arg0: ProtocolParameter) => boolean), processSequence: FSharpList<Process>): FSharpList<[ProcessInput_$union, ProcessParameterValue]>; /** * If the processes contain a process implementing the given parameter, return the list of output files together with their according parameter values of this parameter */ export declare function getOutputsWithParameterBy(predicate: ((arg0: ProtocolParameter) => boolean), processSequence: FSharpList<Process>): FSharpList<[ProcessOutput_$union, ProcessParameterValue]>; /** * Returns the parameters implemented by the processes contained in these processes */ export declare function getParameters(processSequence: FSharpList<Process>): FSharpList<ProtocolParameter>; /** * Returns the characteristics describing the inputs and outputs of the processssequence */ export declare function getCharacteristics(processSequence: FSharpList<Process>): FSharpList<MaterialAttribute>; /** * If the processes contain a process implementing the given parameter, return the list of input files together with their according parameter values of this parameter */ export declare function getInputsWithCharacteristicBy(predicate: ((arg0: MaterialAttribute) => boolean), processSequence: FSharpList<Process>): FSharpList<[ProcessInput_$union, MaterialAttributeValue]>; /** * If the processes contain a process implementing the given parameter, return the list of output files together with their according parameter values of this parameter */ export declare function getOutputsWithCharacteristicBy(predicate: ((arg0: MaterialAttribute) => boolean), processSequence: FSharpList<Process>): FSharpList<[ProcessOutput_$union, MaterialAttributeValue]>; /** * If the processes contain a process implementing the given factor, return the list of output files together with their according factor values of this factor */ export declare function getOutputsWithFactorBy(predicate: ((arg0: Factor) => boolean), processSequence: FSharpList<Process>): FSharpList<[ProcessOutput_$union, FactorValue]>; /** * Returns the factors implemented by the processes contained in these processes */ export declare function getFactors(processSequence: FSharpList<Process>): FSharpList<Factor>; /** * Returns the initial inputs final outputs of the processSequence, to which no processPoints */ export declare function getRootInputs(processSequence: FSharpList<Process>): FSharpList<ProcessInput_$union>; /** * Returns the final outputs of the processSequence, which point to no further nodes */ export declare function getFinalOutputs(processSequence: FSharpList<Process>): FSharpList<ProcessOutput_$union>; /** * Returns the initial inputs final outputs of the processSequence, to which no processPoints */ export declare function getRootInputOf(processSequence: FSharpList<Process>, sample: string): FSharpList<string>; /** * Returns the final outputs of the processSequence, which point to no further nodes */ export declare function getFinalOutputsOf(processSequence: FSharpList<Process>, sample: string): FSharpList<string>; export declare function getUnits(processSequence: FSharpList<Process>): FSharpList<OntologyAnnotation>; /** * Returns the data the given processes contain */ export declare function getData(processSequence: FSharpList<Process>): FSharpList<Data>; export declare function getSources(processSequence: FSharpList<Process>): FSharpList<Source>; export declare function getSamples(processSequence: FSharpList<Process>): FSharpList<Sample>; export declare function getMaterials(processSequence: FSharpList<Process>): FSharpList<Material>; //# sourceMappingURL=ProcessSequence.fs.d.ts.map