Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KNOT
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
MARIJON Pierre
KNOT
Commits
3453c430
Commit
3453c430
authored
Jan 08, 2019
by
MARIJON Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option to set the contig length threshold
parent
9e0b8730
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
knot/AAG.rules
knot/AAG.rules
+1
-1
knot/__main__.py
knot/__main__.py
+4
-1
No files found.
knot/AAG.rules
View file @
3453c430
...
...
@@ -20,7 +20,7 @@ rule filter_contigs:
"{prefix}_filtred.fasta"
shell:
"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:
input:
...
...
knot/__main__.py
View file @
3453c430
...
...
@@ -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):
"out_prefix="
+
args
[
"output"
],
"contigs_graph="
+
args
[
"contigs_graph"
],
"read_type="
+
args
[
"read_type"
],
"package_path="
+
package_path
,
"min_contig_length="
+
str
(
args
[
"contig_min_length"
]),
"package_path="
+
package_path
]
if
args
[
"raw_reads"
]
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment