# HG changeset patch
# User jjohnson
# Date 1307563364 18000
# Node ID 5265aa9067e0da7ec077cdedd7bebeefe7374216
# Parent b849cd7e132ab9b76f1e71633beb0cb52742c260
set output formats to match input formats
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/bin.seqs.xml
--- a/mothur/tools/mothur/bin.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/bin.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -6,7 +6,7 @@
--result='^mothur.\S+\.logfile$:'$logfile
--outputdir='$logfile.extra_files_path'
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.(unique|[0-9.]*)\.fasta$:fasta'
+ --new_datasets='^\S+?\.(unique|[0-9.]*)\.fasta$:${fasta.ext}'
--fasta=$fasta
--list=$otu
#if $name.__str__ != "None" and len($name.__str__) > 0:
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/bootstrap.shared.xml
--- a/mothur/tools/mothur/bootstrap.shared.xml Wed Jun 08 14:59:08 2011 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,126 +0,0 @@
-
- Generate a newick trees for dissimilarity among groups
-
- #*
-98_sq_phylip_amazon.fn.jclass.bootunique.tre
-98_sq_phylip_amazon.fn.thetayc.bootunique.tre
-98_sq_phylip_amazon.fn.jclass.bootunique.cons.pairs
-98_sq_phylip_amazon.fn.jclass.bootunique.cons.tre
-98_sq_phylip_amazon.fn.thetayc.bootunique.cons.pairs
-98_sq_phylip_amazon.fn.thetayc.bootunique.cons.tre
-98_sq_phylip_amazon.fn.jclass.boot0.00.tre
-98_sq_phylip_amazon.fn.thetayc.boot0.00.tre
-98_sq_phylip_amazon.fn.jclass.boot0.00.cons.pairs
-98_sq_phylip_amazon.fn.jclass.boot0.00.cons.tre
-98_sq_phylip_amazon.fn.thetayc.boot0.00.cons.pairs
-98_sq_phylip_amazon.fn.thetayc.boot0.00.cons.tre
- *#
- mothur_wrapper.py
- --cmd='bootstrap.shared'
- --result='^mothur.\S+\.logfile$:'$logfile
- --outputdir='$logfile.extra_files_path'
- --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+\.([a-z]+\.boot(unique|[0-9.]*)\.tre)$:tre','^\S+\.([a-z]+\.boot(unique|[0-9.]*)\.cons\.tre)$:tre','^\S+\.([a-z]+\.boot(unique|[0-9.]*)\.cons\.pairs)$:txt'
- --READ_cmd='read.otu'
- #if $input.source == 'similarity':
- --READ_list=$input.otu
- #if $otu_group.__str__ != "None" and len($otu_group.__str__) > 0:
- --READ_group='$otu_group'
- #end if
- #if $input.label.__str__ != "None" and len($input.label.__str__) > 0:
- --READ_label='$input.label'
- #end if
- #elif $input.source == 'shared':
- --READ_shared=$input.otu
- #if $input.label.__str__ != "None" and len($input.label.__str__) > 0:
- --READ_label='$input.label'
- #end if
- #end if
- #if $input.groups.__str__ != "None" and len($input.groups.__str__) > 0:
- --groups=$input.groups
- #end if
- #if $calc.__str__ != "None" and len($calc.__str__) > 0:
- --calc=$calc
- #end if
- #if int($iters.__str__) > 0:
- --iters=$iters
- #end if
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mothur
-
-
-
-
-**Mothur Overview**
-
-Mothur_, initiated by Dr. Patrick Schloss and his software development team
-in the Department of Microbiology and Immunology at The University of Michigan,
-provides bioinformatics for the microbial ecology community.
-
-.. _Mothur: http://www.mothur.org/wiki/Main_Page
-
-**Command Documenation**
-
-The bootstrap.shared_ command will generate a newick-formatted tree file that describes the dissimilarity (1-similarity) among multiple groups.
-
-.. _bootstrap.shared: http://www.mothur.org/wiki/Bootstrap.shared
-
-
-
-
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/cluster.fragments.xml
--- a/mothur/tools/mothur/cluster.fragments.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/cluster.fragments.xml Wed Jun 08 15:02:44 2011 -0500
@@ -25,7 +25,7 @@
-
+
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/consensus.seqs.xml
--- a/mothur/tools/mothur/consensus.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/consensus.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -15,13 +15,13 @@
#end if
--result='^mothur.\S+\.logfile$:'$logfile
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.(((unique|[0-9.]*)\.)?cons\.fasta)$:fasta','^\S+?\.(((unique|[0-9.]*)\.)?cons\.names)$:names','^\S+?\.(((unique|[0-9.]*)\.)?cons\.summary)$:tabular'
+ --new_datasets='^\S+?\.(((unique|[0-9.]*)\.)?cons\.fasta)$:${fasta.ext}','^\S+?\.(((unique|[0-9.]*)\.)?cons\.names)$:names','^\S+?\.(((unique|[0-9.]*)\.)?cons\.summary)$:tabular'
#else
--result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.cons\.summary$:'$summary,'^\S+\.cons\.fasta$:'$cons_fasta
#end if
-
+
@@ -45,7 +45,7 @@
otu['use'] == 'no'
-
+
otu['use'] == 'no'
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/degap.seqs.xml
--- a/mothur/tools/mothur/degap.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/degap.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -12,7 +12,7 @@
-
+
mothur
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/deunique.seqs.xml
--- a/mothur/tools/mothur/deunique.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/deunique.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -14,7 +14,7 @@
-
+
mothur
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/get.groups.xml
--- a/mothur/tools/mothur/get.groups.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/get.groups.xml Wed Jun 08 15:02:44 2011 -0500
@@ -52,7 +52,7 @@
-
+
fasta_in != None
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/get.lineage.xml
--- a/mothur/tools/mothur/get.lineage.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/get.lineage.xml Wed Jun 08 15:02:44 2011 -0500
@@ -53,7 +53,7 @@
-
+
fasta_in != None
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/get.oturep.xml
--- a/mothur/tools/mothur/get.oturep.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/get.oturep.xml Wed Jun 08 15:02:44 2011 -0500
@@ -7,7 +7,7 @@
--outputdir='$logfile.extra_files_path'
#if $as_datasets.__str__ == "yes":
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.((unique|[0-9.]*)(\S+)\.rep\.fasta)$:fasta','^\S+?\.((unique|[0-9.]*)(\S+)\.rep\.names)$:names'
+ --new_datasets='^\S+?\.((unique|[0-9.]*)(\S+)\.rep\.fasta)$:${fasta.ext}','^\S+?\.((unique|[0-9.]*)(\S+)\.rep\.names)$:names'
#end if
--fasta=$fasta
--list=$otu_list
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/get.seqs.xml
--- a/mothur/tools/mothur/get.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/get.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -53,11 +53,11 @@
-
+
fasta_in != None
-
+
qfile_in != None
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/get.sharedseqs.xml
--- a/mothur/tools/mothur/get.sharedseqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/get.sharedseqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -23,7 +23,7 @@
#end if
#if $fasta.__str__ != "None" and len($fasta.__str__) > 0:
--fasta=$fasta
- #set datasets = $datasets + ["'^\S+?\.((unique|[0-9.]*)(\S+)\.shared.fasta)$:fasta'"]
+ #set datasets = $datasets + ["'^\S+?\.((unique|[0-9.]*)(\S+)\.shared.fasta)$:" + $fasta.ext + "'"]
#end if
#if $output.__str__ != "None" and len($output.__str__) > 0:
--output=$output
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/pre.cluster.xml
--- a/mothur/tools/mothur/pre.cluster.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/pre.cluster.xml Wed Jun 08 15:02:44 2011 -0500
@@ -25,7 +25,7 @@
-
+
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/read.otu.xml
--- a/mothur/tools/mothur/read.otu.xml Wed Jun 08 14:59:08 2011 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-
- Read OTU list and group to create a shared file
-
- mothur_wrapper.py
- --cmd='read.otu'
- --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.shared:'$shared
- --outputdir='$logfile.extra_files_path'
- #if $show_rabund.value == True:
- --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.((\S+)\.rabund)$:rabund'
- #end if
- --list=$otu
- --group=$otu_group
- #if $label.__str__ != "None" and len($label.__str__) > 0:
- --label='$label'
- #end if
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mothur
-
-
-
-
-**Mothur Overview**
-
-Mothur_, initiated by Dr. Patrick Schloss and his software development team
-in the Department of Microbiology and Immunology at The University of Michigan,
-provides bioinformatics for the microbial ecology community.
-
-.. _Mothur: http://www.mothur.org/wiki/Main_Page
-
-**Command Documenation**
-
-The read.otu_ command is called before most of the OTU based mothur commands. It is included here explicitly to allow the creatation of a shared file from OTU list and group files.
-
-.. _read.otu: http://www.mothur.org/wiki/Read.otu
-
-
-
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/remove.lineage.xml
--- a/mothur/tools/mothur/remove.lineage.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/remove.lineage.xml Wed Jun 08 15:02:44 2011 -0500
@@ -54,7 +54,7 @@
-
+
fasta_in != None
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/remove.seqs.xml
--- a/mothur/tools/mothur/remove.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/remove.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -58,14 +58,14 @@
fasta_in != None
-->
-
+
fasta_in != None
-
+
qfile_in != None
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/split.abund.xml
--- a/mothur/tools/mothur/split.abund.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/split.abund.xml Wed Jun 08 15:02:44 2011 -0500
@@ -10,10 +10,10 @@
#set datasets = []
#if $as_datasets.__str__ == "yes":
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.fasta)$:fasta','^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.groups)$:groups','^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.accnos)$:accnos'
+ --new_datasets='^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.fasta)$:${fasta.ext}','^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.groups)$:groups','^\S+?\.((unique|[0-9.]+)\.(rare|abund)\.accnos)$:accnos'
#end if
--fasta=$fasta
- #set datasets = $datasets + ["'" + $re.sub(r'(^.*)\.(.*?)$',r'^\1.(.*\.fasta)$',$os.path.basename($fasta.__str__)) + ":fasta'"]
+ #set datasets = $datasets + ["'" + $re.sub(r'(^.*)\.(.*?)$',r'^\1.(.*\.fasta)$',$os.path.basename($fasta.__str__)) + ":" + $fasta.ext + "'"]
#if $search.type == "list":
--list=$search.input
#set datasets = $datasets + ["'" + $re.sub(r'(^.*)\.(.*?)$',r'^\1.(.*\.list)$',$os.path.basename($search.input.__str__)) + ":list'"]
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/split.groups.xml
--- a/mothur/tools/mothur/split.groups.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/split.groups.xml Wed Jun 08 15:02:44 2011 -0500
@@ -6,7 +6,7 @@
--result='^mothur.\S+\.logfile$:'$logfile
--outputdir='$logfile.extra_files_path'
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.(\S+\.fasta)$:fasta','^\S+?\.(\S+\.names)$:names'
+ --new_datasets='^\S+?\.(\S+\.fasta)$:${fasta.ext}','^\S+?\.(\S+\.names)$:names'
--fasta=$fasta
--group=$group
#if $name.__str__ != "None" and len($name.__str__) > 0:
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/sub.sample.xml
--- a/mothur/tools/mothur/sub.sample.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/sub.sample.xml Wed Jun 08 15:02:44 2011 -0500
@@ -165,7 +165,7 @@
-
+
input['format'] == 'fasta'
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/trim.seqs.xml
--- a/mothur/tools/mothur/trim.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/trim.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -37,7 +37,7 @@
$oligo.allfiles
#if $oligo.allfiles.value:
--datasetid='$logfile.id' --new_file_path='$__new_file_path__'
- --new_datasets='^\S+?\.(\S+\.fasta)$:fasta','^\S+?\.(\S+\.groups)$:groups'
+ --new_datasets='^\S+?\.(\S+\.fasta)$:${fasta.ext}','^\S+?\.(\S+\.groups)$:groups'
#end if
#end if
#if $qual.add == "yes":
@@ -95,11 +95,11 @@
-
+
(qual['add'] == 'yes' and len(qual['qfile'].__str__) > 0)
-
-
+
+
(qual['add'] == 'yes' and len(qual['qfile'].__str__) > 0)
diff -r b849cd7e132a -r 5265aa9067e0 mothur/tools/mothur/unique.seqs.xml
--- a/mothur/tools/mothur/unique.seqs.xml Wed Jun 08 14:59:08 2011 -0500
+++ b/mothur/tools/mothur/unique.seqs.xml Wed Jun 08 15:02:44 2011 -0500
@@ -16,7 +16,7 @@
-
+