public class SimulatedReadsPlugin
public SimulatedReadsPlugin(@Nullable java.awt.Frame parentFrame, boolean isInteractive)
@Nullable public net.maizegenetics.plugindef.DataSet processData(@NotNull net.maizegenetics.plugindef.DataSet input)
@NotNull public java.lang.String simulateSingleReadsForTaxon(@NotNull java.lang.String taxonName, @NotNull HaplotypeGraph myGraph)
@NotNull public kotlin.Pair<java.lang.String,java.lang.String> simulatePairedEndReadsForTaxon(@NotNull java.lang.String taxonName, @NotNull HaplotypeGraph myGraph)
@NotNull public java.lang.String getToolTipText()
@Nullable public javax.swing.ImageIcon getIcon()
@NotNull public java.lang.String getButtonName()
@NotNull public java.lang.String createSingleReads(@NotNull java.lang.String sequence, double depth, int readLength, int hapid)
@NotNull public java.util.List<java.lang.String> createPairedEndReads(@NotNull java.lang.String sequence, double depth, int readLength, int insertSize, int hapid)
@NotNull public java.lang.String reverseCompliment(@NotNull java.lang.String seq)
public double coverage()
average coverage of reads for a reference range
@NotNull public SimulatedReadsPlugin coverage(double value)
Set Coverage. average coverage of reads for a reference range
value
- Coverage@Nullable public java.lang.String lineName()
the name of the line for which reads will be simulated. If not specified, all lines will be simulated for the haplotype method.
@NotNull public SimulatedReadsPlugin lineName(@NotNull java.lang.String value)
Set Line Name. the name of the line for which reads will be simulated. If not specified, all lines will be simulated for the haplotype method.
value
- Line Name@NotNull public java.lang.String haplotypeMethod()
the haplotype method used to simulate reads
@NotNull public SimulatedReadsPlugin haplotypeMethod(@NotNull java.lang.String value)
Set Haplotype Method. the haplotype method used to simulate reads
value
- Haplotype Method@NotNull public java.lang.String fastqDir()
the directory to which the simulated read fastq will be written. The default will write to a temp directory, which will not be available after the plugin finishes.
@NotNull public SimulatedReadsPlugin fastqDir(@NotNull java.lang.String value)
Set Fastq Dir. the directory to which the simulated read fastq will be written. The default will write to a temp directory, which will not be available after the plugin finishes.
value
- Fastq Dirpublic boolean pairedEnd()
Should paired end reads be generated?
@NotNull public SimulatedReadsPlugin pairedEnd(boolean value)
Set Paired End. Should paired end reads be generated?
value
- Paired Endpublic int readLength()
length of reads to be generated
@NotNull public SimulatedReadsPlugin readLength(int value)
Set Read Length. length of reads to be generated
value
- Read Lengthpublic int insertLength()
for paired end reads the number of base pairs between reads
@NotNull public SimulatedReadsPlugin insertLength(int value)
Set Insert Length. for paired end reads the number of base pairs between reads
value
- Insert Length