-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
57 additions
and
36 deletions.
There are no files selected for viewing
37 changes: 30 additions & 7 deletions
37
src/main/scala/org/hammerlab/guacamole/assembly/AssemblyArgs.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,46 @@ | ||
package org.hammerlab.guacamole.assembly | ||
|
||
import org.hammerlab.guacamole.loci.partitioning.HalfWindowConfig | ||
import org.kohsuke.args4j.{Option => Args4jOption} | ||
|
||
trait AssemblyArgs { | ||
@Args4jOption(name = "--kmer-size", usage = "Length of kmer used for DeBruijn Graph assembly") | ||
trait AssemblyArgs | ||
extends HalfWindowConfig { | ||
|
||
@Args4jOption( | ||
name = "--kmer-size", | ||
usage = "Length of kmer used for DeBruijn Graph assembly" | ||
) | ||
var kmerSize: Int = 45 | ||
|
||
@Args4jOption(name = "--assembly-window-range", usage = "Number of bases before and after to check for additional matches or deletions") | ||
@Args4jOption( | ||
name = "--assembly-window-range", | ||
usage = "Number of bases before and after to check for additional matches or deletions" | ||
) | ||
var assemblyWindowRange: Int = 20 | ||
|
||
@Args4jOption(name = "--min-occurrence", required = false, usage = "Minimum occurrences to include a kmer ") | ||
override def halfWindowSize: Int = assemblyWindowRange | ||
|
||
@Args4jOption( | ||
name = "--min-occurrence", | ||
usage = "Minimum occurrences to include a kmer " | ||
) | ||
var minOccurrence: Int = 3 | ||
|
||
@Args4jOption(name = "--min-area-vaf", required = false, usage = "Minimum variant allele frequency to investigate area") | ||
@Args4jOption( | ||
name = "--min-area-vaf", | ||
usage = "Minimum variant allele frequency to investigate area" | ||
) | ||
var minAreaVaf: Int = 5 | ||
|
||
@Args4jOption(name = "--min-mean-kmer-quality", usage = "Minimum mean base quality to include a kmer") | ||
@Args4jOption( | ||
name = "--min-mean-kmer-quality", | ||
usage = "Minimum mean base quality to include a kmer" | ||
) | ||
var minMeanKmerQuality: Int = 0 | ||
|
||
@Args4jOption(name = "--shortcut-assembly", required = false, usage = "Skip assembly process in inactive regions") | ||
@Args4jOption( | ||
name = "--shortcut-assembly", | ||
usage = "Skip assembly process in inactive regions" | ||
) | ||
var shortcutAssembly: Boolean = false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/scala/org/hammerlab/guacamole/loci/partitioning/HalfWindowConfig.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.hammerlab.guacamole.loci.partitioning | ||
|
||
trait HalfWindowConfig { | ||
def halfWindowSize: Int = 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters