Example usage for org.apache.hadoop.conf Configuration set

List of usage examples for org.apache.hadoop.conf Configuration set

Introduction

In this page you can find the example usage for org.apache.hadoop.conf Configuration set.

Prototype

public void set(String name, String value) 

Source Link

Document

Set the value of the name property.

Usage

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setStarDirOnHDFS(Configuration conf, String val) {
    conf.set(starDirOnHDFSName, val);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setStarDirPass2HDFS(Configuration conf, String val) {
    if (!val.endsWith("/"))
        conf.set(starDirPass2HDFSName, val + "/" + pass2GenomeDirName);
    else//from   w  w  w. ja  v  a 2s .c om
        conf.set(starDirPass2HDFSName, val + pass2GenomeDirName);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setSequenceDictionary(Configuration conf, SAMSequenceDictionary dict)
        throws IOException, URISyntaxException {
    int counter = 0;
    for (SAMSequenceRecord seq : dict.getSequences()) {
        conf.set(dictionarySequenceName + counter, seq.getSequenceName());
        conf.setInt(dictionarySequenceLength + counter, seq.getSequenceLength());
        counter++;//from   w w w. ja  va2 s . c o  m
    }
    conf.setInt(dictionaryCount, counter);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setChrList(Configuration conf, String val) {
    conf.set(chrList, val);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setIsRNA(Configuration conf, boolean isRNA) {
    if (isRNA)/*www  . ja v a 2 s .c om*/
        conf.set(rna, "true");
    else
        conf.set(rna, "false");
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setFilterBed(Configuration conf, String bed_) {
    conf.set(fbed, bed_);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setBed(Configuration conf, String bed_) {
    conf.set(bed, bed_);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setBedRegions(Configuration conf, String bed) {
    conf.set(bedRegions, bed);
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setReportAllVariant(Configuration conf, boolean val) {
    if (val)
        conf.set(reportAllVariant, "true");
    else//from w w  w.j  a va 2  s  .  c o m
        conf.set(reportAllVariant, "false");
}

From source file:be.ugent.intec.halvade.utils.HalvadeConf.java

License:Open Source License

public static void setkeepChrSplitPairs(Configuration conf, boolean val) {
    if (val)
        conf.set(keepChrSplitPairs, "true");
    else/*from w w  w .  j  a v a2 s  .com*/
        conf.set(keepChrSplitPairs, "false");
}