Skip to content

Commit

Permalink
Merge pull request #243 from maxplanck-ie/fix241
Browse files Browse the repository at this point in the history
Fix #241, bump to beta 1
  • Loading branch information
dpryan79 authored Sep 3, 2018
2 parents d883226 + fc30e0d commit 93fa720
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: snakepipes
version: 1.0.0_alpha6
version: 1.0.0_beta1

source:
path: ../
Expand Down
2 changes: 1 addition & 1 deletion snakePipes/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.0-a6'
__version__ = '1.0.0-b1'
13 changes: 12 additions & 1 deletion snakePipes/workflows/DNA-mapping/DNA-mapping
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import snakePipes.parserCommon as parserCommon
def parse_args(defaults={"verbose": False, "configfile": None, "cluster_configfile": None, "max_jobs": 5, "snakemake_options": "--use-conda", "tempdir": None,
"mode": "mapping", "downsample": False, "trim": False, "trim_prg": "cutadapt", "trim_options": "", "fastqc": False,
"qualimap": False, "dedup": False, "properpairs": False, "insert_size_max": 1000, "gcbias": False,
"bw_binsize": 25, "mapq": 0, "plot_format": "png"}):
"bw_binsize": 25, "mapq": 0, "plot_format": "png", "bowtie_opts": "", "mate_orientation": "--fr"}):
"""
Parse arguments from the command line.
"""
Expand All @@ -45,6 +45,17 @@ def parse_args(defaults={"verbose": False, "configfile": None, "cluster_configfi

parserCommon.commonOptions(optional, defaults)

optional.add_argument("--bowtie_opts",
help="Options that will be passed to bowtie2. You can specify things such as `--local` or "
"`--very-sensitive` here. The mate orientation and maximum insert size are specified "
"elsewhere. Read group information is set automatically. Note that you may need to escape "
"the first - (e.g., '\--very-fast'). Default: '%(default)s'.",
default=defaults["bowtie_opts"])

optional.add_argument("--mate_orientation",
help="The --fr, --ff, or --rf option for bowtie2 (default: '%(default)s')",
default=defaults["mate_orientation"])

optional.add_argument("--qualimap",
dest="qualimap",
action="store_true",
Expand Down

0 comments on commit 93fa720

Please sign in to comment.