Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
9897c125
Commit
9897c125
authored
Oct 18, 2013
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
64d62eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflows/miseq_diversity/components/mothurmakecontigs.py
View file @
9897c125
...
...
@@ -51,10 +51,8 @@ class MothurMakeContigs(Analysis):
else
:
self
.
reverse_primer
=
None
self
.
oligos_file
=
os
.
path
.
join
(
self
.
output_directory
,
'oligos.oligos'
)
else
:
self
.
oligos_file
=
None
if
maxambig
:
self
.
maxambig
=
maxambig
else
:
self
.
maxambig
=
None
if
maxlength
:
self
.
maxlength
=
maxlength
else
:
self
.
maxlength
=
None
self
.
maxambig
=
maxambig
self
.
maxlength
=
maxlength
self
.
pdiffs
=
pdiffs
self
.
processors
=
processors
# define input files
...
...
@@ -89,7 +87,7 @@ class MothurMakeContigs(Analysis):
self
.
options
=
'#make.contigs(file=stability.file,oligos=oligos.oligos,pdiffs='
+
str
(
self
.
pdiffs
)
+
');'
else
:
self
.
options
=
'#make.contigs(file=stability.file);'
self
.
options
+=
'#screen.seqs(fasta=FILE.fasta,group=FILE.groups,maxambig='
+
self
.
maxambig
+
',maxlength='
+
self
.
maxlength
+
');'
self
.
options
+=
'#screen.seqs(fasta=FILE.fasta,group=FILE.groups,maxambig='
+
str
(
self
.
maxambig
)
+
',maxlength='
+
str
(
self
.
maxlength
)
+
');'
def
get_version
(
self
):
cmd
=
[
self
.
get_exec_path
(
"mothur"
),
"-version"
]
...
...
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