public class ImputePipelinePlugin
public ImputePipelinePlugin(@Nullable java.awt.Frame parentFrame, boolean isInteractive)
public ImputePipelinePlugin()
protected void postProcessParameters()
@Nullable public net.maizegenetics.plugindef.DataSet processData(@Nullable net.maizegenetics.plugindef.DataSet input)
@NotNull public java.lang.String getToolTipText()
@Nullable public javax.swing.ImageIcon getIcon()
@NotNull public java.lang.String getButtonName()
@NotNull public net.maizegenetics.pangenome.pipeline.ImputePipelinePlugin.IMPUTE_TASK imputeTarget()
Specifies the target or desired endpoint when running the plugin. For any given endpoint, the plugin will check that all required previous step have been completed and run those as needed.
@NotNull public ImputePipelinePlugin imputeTarget(@NotNull net.maizegenetics.pangenome.pipeline.ImputePipelinePlugin.IMPUTE_TASK value)
Set Impute Target. Specifies the target or desired endpoint when running the plugin. For any given endpoint, the plugin will check that all required previous step have been completed and run those as needed.
value
- Impute Target@NotNull public net.maizegenetics.pangenome.pipeline.ImputePipelinePlugin.INPUT_TYPE inputType()
The type of data to be used for imputation
@NotNull public ImputePipelinePlugin inputType(@NotNull net.maizegenetics.pangenome.pipeline.ImputePipelinePlugin.INPUT_TYPE value)
Set Input Type. The type of data to be used for imputation
value
- Input Type@Nullable public java.lang.String configFile()
The config file name.
@NotNull public ImputePipelinePlugin configFile(@NotNull java.lang.String value)
Set Config File. The config file name.
value
- Config File@NotNull public java.lang.String pangenomeHaplotypeMethod()
The haplotype method used to create the pangenome.fa and pangenome.mmi.
@NotNull public ImputePipelinePlugin pangenomeHaplotypeMethod(@NotNull java.lang.String value)
Set Pangenome Haplotype Method. The haplotype method used to create the pangenome.fa and pangenome.mmi.
value
- Pangenome Haplotype Method@NotNull public java.lang.String pathHaplotypeMethod()
The haplotype method used to impute a path. The same method will be used to create the PHG used for read mapping.
@NotNull public ImputePipelinePlugin pathHaplotypeMethod(@NotNull java.lang.String value)
Set Path Haplotype Method. The haplotype method used to impute a path. The same method will be used to create the PHG used for read mapping.
value
- Path Haplotype Method@NotNull public java.lang.String pangenomeDir()
The directory of the pangenome file and index.
@NotNull public ImputePipelinePlugin pangenomeDir(@NotNull java.lang.String value)
Set Pangenome Dir. The directory of the pangenome file and index.
value
- Pangenome Dir@Nullable public java.lang.String pangenomeIndexName()
WARNING: By default the plugin will construct pangenome file and index names from the pangenomeHaplotypeMethod. Only use this parameter to over-ride that name with a different one. Be sure the pangenomeHaplotypeMethod matches the index.
@NotNull public ImputePipelinePlugin pangenomeIndexName(@NotNull java.lang.String value)
Set Pangenome Index Name. WARNING: By default the plugin will construct pangenome file and index names from the pangenomeHaplotypeMethod. Only use this parameter to over-ride that name with a different one. Be sure the pangenomeHaplotypeMethod matches the index.
value
- Pangenome Index Namepublic int indexKmerLength()
Minimap2 index parameter k, the kmer length of the minimizers, which is used to index the pangenome.
@NotNull public ImputePipelinePlugin indexKmerLength(int value)
Set Index Kmer Length. Minimap2 index parameter k, the kmer length of the minimizers, which is used to index the pangenome.
value
- Index Kmer Lengthpublic int indexWindowSize()
Minimap2 index parameter w, the minimizer window size, which is used to index the pangenome.
@NotNull public ImputePipelinePlugin indexWindowSize(int value)
Set Index Window Size. Minimap2 index parameter w, the minimizer window size, which is used to index the pangenome.
value
- Index Window Size@NotNull public java.lang.String indexNumberBases()
Minimap2 index parameter I, the maximum number of bases loaded into memory, which is used to index the pangenome. This must be large enough to hold the entire pangenome in memory.
@NotNull public ImputePipelinePlugin indexNumberBases(@NotNull java.lang.String value)
Set Index Number Bases. Minimap2 index parameter I, the maximum number of bases loaded into memory, which is used to index the pangenome. This must be large enough to hold the entire pangenome in memory.
value
- Index Number Bases@NotNull public java.lang.String minimapLocation()
Location of Minimap2 on file system. This defaults to use minimap2 if it is on the PATH environment variable.
@NotNull public ImputePipelinePlugin minimapLocation(@NotNull java.lang.String value)
Set Location of Minimap2 Executable. Location of Minimap2 on file system. This defaults to use minimap2 if it is on the PATH environment variable.
value
- Location of Minimap2 Executable@NotNull public java.lang.String readMethod()
The read method name to used for the read mapping data stored in the DB.
@NotNull public ImputePipelinePlugin readMethod(@NotNull java.lang.String value)
Set Read Method. The read method name to used for the read mapping data stored in the DB.
value
- Read Method@Nullable public java.lang.String readMethodDescription()
An additional description that will be stored with the read method name, if desired.
@NotNull public ImputePipelinePlugin readMethodDescription(@NotNull java.lang.String value)
Set Read Method Description. An additional description that will be stored with the read method name, if desired.
value
- Read Method Description@NotNull public java.lang.String outVcfFile()
The name of the file to be output by the PathsToVCFPlugin.
@NotNull public ImputePipelinePlugin outVcfFile(@NotNull java.lang.String value)
Set Out Vcf File. The name of the file to be output by the PathsToVCFPlugin.
value
- Out Vcf Filepublic boolean forceDBUpdate()
Parameter to force the DB to update. If this is set to true and the DB is incompatible with the current PHG code, this will automatically update the DB if it can.
@NotNull public ImputePipelinePlugin forceDBUpdate(boolean value)
Set Force D B Update. Parameter to force the DB to update. If this is set to true and the DB is incompatible with the current PHG code, this will automatically update the DB if it can.
value
- Force D B Update@NotNull public java.lang.String liquibaseOutputDir()
The directory to which liquibase output files will be written.
@NotNull public ImputePipelinePlugin liquibaseOutputDir(@NotNull java.lang.String value)
Set Liquibase Outdir. The directory to which liquibase output files will be written.
value
- Liquibase Outdirpublic boolean skipLiquibaseCheck()
Should the liquibase check be skipped? Do not set to true if running inside a Docker. Then, only set to true if the PHG DB version is known to match the software version.
@NotNull public ImputePipelinePlugin skipLiquibaseCheck(boolean value)
Set Skip Liquibase Check. Should the liquibase check be skipped? Do not set to true if running inside a Docker. Then, only set to true if the PHG DB version is known to match the software version.
value
- Skip Liquibase Check@NotNull public java.lang.String localGVCFFolder()
Folder where gvcfs will be downloaded and stored
@NotNull public ImputePipelinePlugin localGVCFFolder(@NotNull java.lang.String value)
Set Local GVCF Folder. Folder where gvcfs will be downloaded and stored
value
- Local GVCF Folder