Skip to content
Snippets Groups Projects
Commit 480f260b authored by Beibei Chen's avatar Beibei Chen
Browse files

update yaml

parent 3cc1bd73
Branches
Tags
No related merge requests found
...@@ -112,9 +112,9 @@ workflow_parameters: ...@@ -112,9 +112,9 @@ workflow_parameters:
- id: toppeakcount - id: toppeakcount
type: integer type: integer
required: true required: true
description: |
The number of top peaks to use for motif discovery. This program won't sort peak BED files for you, so please make sure your peak files are already sorted. Default : -1, use all the peaks
default: -1 default: -1
description: |
The number of top peaks to use for motif discovery. This program will nott sort peak BED files for you, so please make sure your peak files are already sorted.If want all peaks to be used, use -1.
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# SHINY APP CONFIGURATION # SHINY APP CONFIGURATION
......
...@@ -58,7 +58,7 @@ def run(infile, genome, limit, output): ...@@ -58,7 +58,7 @@ def run(infile, genome, limit, output):
rowcount = 0 rowcount = 0
limit = int(limit) limit = int(limit)
logging.debug(limit) logging.debug(limit)
if limit ==-1: if limit < 0:
limit = len(infile) limit = len(infile)
for record in infile: for record in infile:
rowcount += 1 rowcount += 1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment