public class FastqToTagCountPlugin
extends AbstractPlugin
Derives a tagCount list for each fastq file in the input directory. Keeps only good reads having a barcode and a cut site and no N's in the useful part of the sequence. Trims off the barcodes and truncates sequences that (1) have a second cut site, or (2) read into the common adapter.
public FastqToTagCountPlugin()
public FastqToTagCountPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
public static void countTags(java.lang.String keyFileS,
java.lang.String enzyme,
java.lang.String fastqDirectory,
java.lang.String outputDir,
int maxGoodReads,
int minCount)
Derives a tagCount list for each fastq file in the fastqDirectory.
keyFileS - A key file (a sample key by barcode, with a plate map included).enzyme - The enzyme used to create the library (currently ApeKI or PstI).fastqDirectory - Directory containing the fastq files (will be recursively searched).outputDir - Directory to which the tagCounts files (one per fastq file) will be written.maxGoodReads - The maximum number of barcoded reads expected in a fastq fileminCount - The minimum number of occurrences of a tag in a fastq file for it to be included in the output tagCounts filepublic FastqToTagCountPlugin inputDir(java.lang.String value)
public java.lang.String inputDir()
public FastqToTagCountPlugin keyFile(java.lang.String value)
public java.lang.String keyFile()
public FastqToTagCountPlugin enzyme(java.lang.String value)
public java.lang.String enzyme()
public FastqToTagCountPlugin maxGoodReads(java.lang.Integer value)
public java.lang.Integer maxGoodReads()
public FastqToTagCountPlugin minTagCount(java.lang.Integer value)
public java.lang.Integer minTagCount()
public FastqToTagCountPlugin outputDir(java.lang.String value)
public java.lang.String outputDir()
public javax.swing.ImageIcon getIcon()
public java.lang.String getButtonName()
public java.lang.String getToolTipText()