Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
mikessh committed Feb 16, 2015
1 parent 8466f3b commit ca4e2a6
Show file tree
Hide file tree
Showing 131 changed files with 499 additions and 516 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.milaboratory</groupId>
<artifactId>migec2</artifactId>
<artifactId>oncomigec</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>MIGEC2</name>
<name>OncoMIGEC</name>

<repositories>
<repository>
Expand Down Expand Up @@ -167,7 +167,7 @@
<configuration>
<archive>
<manifest>
<mainClass>com.milaboratory.migec2.pipeline.MigecCli</mainClass>
<mainClass>com.milaboratory.oncomigec.pipeline.MigecCli</mainClass>
<addDefaultImplementationEntries>
true
</addDefaultImplementationEntries>
Expand Down Expand Up @@ -228,7 +228,7 @@
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.milaboratory.migec2.pipeline.MigecCli</mainClass>
<mainClass>com.milaboratory.oncomigec.pipeline.MigecCli</mainClass>
</transformer>
</transformers>
<shadedArtifactAttached>true</shadedArtifactAttached>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
* Last modified on 23.11.2014 by mikesh
*/

package com.milaboratory.migec2.model.classifier
package com.milaboratory.oncomigec.model.classifier

import com.milaboratory.core.sequence.nucleotide.NucleotideAlphabet
import com.milaboratory.migec2.model.variant.Variant
import com.milaboratory.oncomigec.model.variant.Variant
import weka.core.Instance

def cli = new CliBuilder(usage: "TrainClassifier [options] control_variants input_vardump output_prefix\n" +
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.entity;
package com.milaboratory.oncomigec.core.align.entity;

import com.milaboratory.core.sequence.Range;
import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.Reference;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.entity;
package com.milaboratory.oncomigec.core.align.entity;

import com.milaboratory.core.sequence.Range;
import com.milaboratory.core.sequence.alignment.LocalAlignment;
import com.milaboratory.core.sequence.mutations.Mutations;
import com.milaboratory.core.sequence.nucleotide.NucleotideAlphabet;
import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.Reference;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.milaboratory.migec2.core.align.kmer;
package com.milaboratory.oncomigec.core.align.kmer;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;
import com.milaboratory.util.IntArrayList;

public class KMerFinder {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.milaboratory.migec2.core.align.kmer;
package com.milaboratory.oncomigec.core.align.kmer;

import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.Reference;

public class KMerFinderResult {
private final double information;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.milaboratory.migec2.core.align.kmer;
package com.milaboratory.oncomigec.core.align.kmer;

//
// Adapted from KAnalyze package, see
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.milaboratory.migec2.core.align.kmer;
package com.milaboratory.oncomigec.core.align.kmer;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public class KmerUtils {
private final int k;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.processor;
package com.milaboratory.oncomigec.core.align.processor;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.core.align.entity.PAlignmentResult;
import com.milaboratory.migec2.core.align.entity.SAlignmentResult;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.entity.PAlignmentResult;
import com.milaboratory.oncomigec.core.align.entity.SAlignmentResult;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public interface Aligner {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.milaboratory.oncomigec.core.align.processor;

import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public interface AlignerFactory <T extends Aligner> {
public T fromReferenceLibrary(ReferenceLibrary referenceLibrary);
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.milaboratory.migec2.core.align.processor;
package com.milaboratory.oncomigec.core.align.processor;

import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public class AlignerFactoryWithReference<T extends Aligner> {
private final ReferenceLibrary referenceLibrary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Last modified on 19.11.2014 by mikesh
*/

package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.Range;
import com.milaboratory.core.sequence.alignment.AffineGapAlignmentScoring;
import com.milaboratory.core.sequence.alignment.LocalAligner;
import com.milaboratory.core.sequence.alignment.LocalAlignment;
import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.core.align.entity.PAlignmentResult;
import com.milaboratory.migec2.core.align.entity.SAlignmentResult;
import com.milaboratory.migec2.core.align.kmer.KMerFinder;
import com.milaboratory.migec2.core.align.kmer.KMerFinderResult;
import com.milaboratory.migec2.core.align.processor.Aligner;
import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.entity.PAlignmentResult;
import com.milaboratory.oncomigec.core.align.entity.SAlignmentResult;
import com.milaboratory.oncomigec.core.align.kmer.KMerFinder;
import com.milaboratory.oncomigec.core.align.kmer.KMerFinderResult;
import com.milaboratory.oncomigec.core.align.processor.Aligner;
import com.milaboratory.oncomigec.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.migec2.core.align.processor.AlignerFactory;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.processor.AlignerFactory;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public class ExtendedExomeAlignerFactory implements AlignerFactory<ExtendedExomeAligner> {
private final int k;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@
* limitations under the License.
*/

package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.alignment.LocalAlignment;
import com.milaboratory.core.sequence.aminoacid.AminoAcidAlphabet;
import com.milaboratory.core.sequence.mutations.Mutations;
import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.Range;
import com.milaboratory.core.sequence.alignment.*;
import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.core.align.entity.PAlignmentResult;
import com.milaboratory.migec2.core.align.entity.SAlignmentResult;
import com.milaboratory.migec2.core.align.processor.Aligner;
import com.milaboratory.migec2.core.align.reference.Reference;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.entity.PAlignmentResult;
import com.milaboratory.oncomigec.core.align.entity.SAlignmentResult;
import com.milaboratory.oncomigec.core.align.processor.Aligner;
import com.milaboratory.oncomigec.core.align.reference.Reference;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.milaboratory.migec2.core.align.processor.aligners;
package com.milaboratory.oncomigec.core.align.processor.aligners;

import com.milaboratory.core.sequence.alignment.KAlignerParameters;
import com.milaboratory.migec2.core.align.processor.AlignerFactory;
import com.milaboratory.migec2.core.align.reference.ReferenceLibrary;
import com.milaboratory.oncomigec.core.align.processor.AlignerFactory;
import com.milaboratory.oncomigec.core.align.reference.ReferenceLibrary;

public class SimpleExomeAlignerFactory implements AlignerFactory<SimpleExomeAligner> {
private final KAlignerParameters parameters;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.milaboratory.oncomigec.core.align.reference;

public class KmerLibrary {
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.reference;
package com.milaboratory.oncomigec.core.align.reference;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.align.reference;
package com.milaboratory.oncomigec.core.align.reference;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.core.sequencing.read.SSequencingRead;
import com.milaboratory.migec2.util.Util;
import com.milaboratory.oncomigec.util.Util;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.milaboratory.migec2.core.assemble.entity;
package com.milaboratory.oncomigec.core.assemble.entity;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.util.QualityHistogram;
import com.milaboratory.oncomigec.util.QualityHistogram;

public interface Consensus {
public int size();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.assemble.entity;
package com.milaboratory.oncomigec.core.assemble.entity;

import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.util.QualityHistogram;
import com.milaboratory.oncomigec.util.QualityHistogram;

public final class PConsensus implements Consensus {
private final SConsensus consensus1, consensus2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.assemble.entity;
package com.milaboratory.oncomigec.core.assemble.entity;

import com.milaboratory.core.sequence.NucleotideSQPair;
import com.milaboratory.core.sequence.nucleotide.NucleotideSequence;
import com.milaboratory.migec2.util.QualityHistogram;
import com.milaboratory.migec2.util.Util;
import com.milaboratory.oncomigec.util.QualityHistogram;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.milaboratory.migec2.core.assemble.misc;
package com.milaboratory.oncomigec.core.assemble.misc;

import com.milaboratory.migec2.core.assemble.entity.Consensus;
import com.milaboratory.migec2.core.assemble.processor.Assembler;
import com.milaboratory.migec2.core.io.entity.Mig;
import com.milaboratory.oncomigec.core.assemble.entity.Consensus;
import com.milaboratory.oncomigec.core.assemble.processor.Assembler;
import com.milaboratory.oncomigec.core.io.entity.Mig;

public abstract class AssemblerFactory<T extends Consensus, V extends Mig> {
protected final AssemblerParameters parameters;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.milaboratory.migec2.core.assemble.misc;
package com.milaboratory.oncomigec.core.assemble.misc;

import com.milaboratory.migec2.util.ParameterSet;
import com.milaboratory.oncomigec.util.ParameterSet;
import org.jdom.Element;

public final class AssemblerParameters implements ParameterSet {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.milaboratory.migec2.core.assemble.misc;
package com.milaboratory.oncomigec.core.assemble.misc;

import com.milaboratory.migec2.core.assemble.entity.PConsensus;
import com.milaboratory.migec2.core.assemble.processor.PAssembler;
import com.milaboratory.migec2.core.assemble.processor.SAssembler;
import com.milaboratory.migec2.core.io.entity.PMig;
import com.milaboratory.oncomigec.core.assemble.entity.PConsensus;
import com.milaboratory.oncomigec.core.assemble.processor.PAssembler;
import com.milaboratory.oncomigec.core.assemble.processor.SAssembler;
import com.milaboratory.oncomigec.core.io.entity.PMig;

public final class PAssemblerFactory extends AssemblerFactory<PConsensus, PMig> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.milaboratory.migec2.core.assemble.misc;
package com.milaboratory.oncomigec.core.assemble.misc;

import com.milaboratory.migec2.core.assemble.entity.SConsensus;
import com.milaboratory.migec2.core.assemble.processor.SAssembler;
import com.milaboratory.migec2.core.io.entity.SMig;
import com.milaboratory.oncomigec.core.assemble.entity.SConsensus;
import com.milaboratory.oncomigec.core.assemble.processor.SAssembler;
import com.milaboratory.oncomigec.core.io.entity.SMig;

public final class SAssemblerFactory extends AssemblerFactory<SConsensus, SMig> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.milaboratory.migec2.core.assemble.processor;
package com.milaboratory.oncomigec.core.assemble.processor;

import cc.redberry.pipe.Processor;
import com.milaboratory.migec2.core.assemble.entity.Consensus;
import com.milaboratory.migec2.core.io.entity.Mig;
import com.milaboratory.migec2.util.ProcessorResultWrapper;
import com.milaboratory.migec2.util.QualityHistogram;
import com.milaboratory.oncomigec.core.assemble.entity.Consensus;
import com.milaboratory.oncomigec.core.io.entity.Mig;
import com.milaboratory.oncomigec.util.ProcessorResultWrapper;
import com.milaboratory.oncomigec.util.QualityHistogram;

import java.util.Collections;
import java.util.LinkedList;
Expand Down
Loading

0 comments on commit ca4e2a6

Please sign in to comment.