org.broadinstitute.hellbender.cmdline.argumentcollections.OptionalReferenceInputArgumentCollection Maven / Gradle / Ivy
The newest version!
package org.broadinstitute.hellbender.cmdline.argumentcollections;
import org.broadinstitute.barclay.argparser.Argument;
import org.broadinstitute.barclay.argparser.WorkflowInput;
import org.broadinstitute.hellbender.cmdline.StandardArgumentDefinitions;
import org.broadinstitute.hellbender.engine.GATKPath;
/**
* An argument collection for use with tools that optionally accept a reference file as input.
*/
public final class OptionalReferenceInputArgumentCollection extends ReferenceInputArgumentCollection {
private static final long serialVersionUID = 1L;
@Argument(fullName = StandardArgumentDefinitions.REFERENCE_LONG_NAME, shortName = StandardArgumentDefinitions.REFERENCE_SHORT_NAME, doc = "Reference sequence", optional = true)
@WorkflowInput(requiredCompanions = { StandardArgumentDefinitions.REFERENCE_INDEX_COMPANION, StandardArgumentDefinitions.REFERENCE_DICTIONARY_COMPANION})
private GATKPath referenceInputPathSpecifier;
@Override
public GATKPath getReferenceSpecifier() {
return referenceInputPathSpecifier;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy