Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OBITools3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
13952358
Commit
13952358
authored
Jul 25, 2019
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug where some commands wouldn't work if the input DMS was not
in the current directory
parent
9f38cd8c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
align.pyx
python/obitools3/commands/align.pyx
+1
-1
build_ref_db.pyx
python/obitools3/commands/build_ref_db.pyx
+1
-1
clean.pyx
python/obitools3/commands/clean.pyx
+1
-1
ecopcr.pyx
python/obitools3/commands/ecopcr.pyx
+2
-2
ecotag.pyx
python/obitools3/commands/ecotag.pyx
+1
-1
No files found.
python/obitools3/commands/align.pyx
View file @
13952358
...
...
@@ -229,7 +229,7 @@ def run(config):
# Call cython alignment function
# Using default ID columns of the view. TODO discuss adding option
align_columns(i_dms
_name
, \
align_columns(i_dms
.full_path
, \
i_view_name, \
o_view_name, \
input_view_2_n = i_view_name_2, \
...
...
python/obitools3/commands/build_ref_db.pyx
View file @
13952358
...
...
@@ -81,7 +81,7 @@ def run(config):
input_view_name.append("taxonomy/"+config['obi']['taxoURI'].split("/")[-1])
comments = View.print_config(config, "build_ref_db", command_line, input_dms_name=input_dms_name, input_view_name=input_view_name)
if build_reference_db(
tobytes(i_dms_name)
, tobytes(i_view_name), tobytes(taxonomy_name), tobytes(o_view_name), comments, config['build_ref_db']['threshold']) < 0:
if build_reference_db(
i_dms.full_path
, tobytes(i_view_name), tobytes(taxonomy_name), tobytes(o_view_name), comments, config['build_ref_db']['threshold']) < 0:
raise Exception("Error building a reference database")
# If the input and output DMS are not the same, export result view to output DMS
...
...
python/obitools3/commands/clean.pyx
View file @
13952358
...
...
@@ -107,7 +107,7 @@ def run(config):
command_line = " ".join(sys.argv[1:])
comments = View.print_config(config, "clean", command_line, input_dms_name=[i_dms_name], input_view_name=[i_view_name])
if obi_clean(
tobytes(i_dms_name)
, tobytes(i_view_name), tobytes(config['clean']['sample-tag-name']), tobytes(o_view_name), comments, \
if obi_clean(
i_dms.full_path
, tobytes(i_view_name), tobytes(config['clean']['sample-tag-name']), tobytes(o_view_name), comments, \
config['clean']['distance'], config['clean']['ratio'], config['clean']['heads-only'], config['clean']['thread-count']) < 0:
raise Exception("Error running obiclean")
...
...
python/obitools3/commands/ecopcr.pyx
View file @
13952358
...
...
@@ -178,8 +178,8 @@ def run(config):
# TODO: primers in comments?
if obi_ecopcr(
tobytes(i_dms_name)
, tobytes(i_view_name), tobytes(taxonomy_name), \
tobytes(o_dms_name)
, tobytes(o_view_name), comments, \
if obi_ecopcr(
i_dms.full_path
, tobytes(i_view_name), tobytes(taxonomy_name), \
o_dms.full_path
, tobytes(o_view_name), comments, \
tobytes(config['ecopcr']['primer1']), tobytes(config['ecopcr']['primer2']), \
config['ecopcr']['error'], \
config['ecopcr']['min-length'], config['ecopcr']['max-length'], \
...
...
python/obitools3/commands/ecotag.pyx
View file @
13952358
...
...
@@ -101,7 +101,7 @@ def run(config):
input_view_name.append("taxonomy/"+config['obi']['taxoURI'].split("/")[-1])
comments = View.print_config(config, "ecotag", command_line, input_dms_name=input_dms_name, input_view_name=input_view_name)
if obi_ecotag(
tobytes(i_dms_name)
, tobytes(i_view_name), \
if obi_ecotag(
i_dms.full_path
, tobytes(i_view_name), \
tobytes(ref_dms_name), tobytes(ref_view_name), \
tobytes(taxo_dms_name), tobytes(taxonomy_name), \
tobytes(o_view_name), comments,
...
...
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