Commit 3453c430 authored by MARIJON Pierre's avatar MARIJON Pierre

Add option to set the contig length threshold

parent 9e0b8730
......@@ -20,7 +20,7 @@ rule filter_contigs:
"python -m knot.filter_tig {input} {output} -t 100000"
"python -m knot.filter_tig {input} {output} -t " + str(config['min_contig_length'])
rule map_contigs2contigs:
......@@ -35,6 +35,8 @@ def main(args = None):
help="read used for assembly")
parser.add_argument("-o", "--output", required=True,
help="output prefix")
parser.add_argument("--contig-min-length", default=100000, type=int,
help="contig with size lower this parameter are ignored")
parser.add_argument("--read-type", choices=["pb", "ont"], default="pb",
help="type of input read, default pb")
parser.add_argument("--help-all", action='store_true',
......@@ -75,7 +77,8 @@ def main(args = None):
if args["raw_reads"] is not None:
Markdown is supported
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