Repository 'mothur_filter_seqs'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/mothur_filter_seqs

Changeset 4:e71c69acde3f (2018-04-23)
Previous changeset 3:4e091f12ba0e (2018-04-06) Next changeset 5:a0ce9fb3f260 (2018-08-03)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit be5c8af076296a53959fc3ed2b82d92dc7607eeb
modified:
filter.seqs.xml
added:
test-data/make_group_collection.groups
b
diff -r 4e091f12ba0e -r e71c69acde3f filter.seqs.xml
--- a/filter.seqs.xml Fri Apr 06 04:06:02 2018 -0400
+++ b/filter.seqs.xml Mon Apr 23 09:34:35 2018 -0400
[
@@ -8,6 +8,7 @@
     <expand macro="version_command"/>
     <command><![CDATA[
 @SHELL_OPTIONS@
+#import re
 
 ## create symlinks to input datasets
 ln -s '$fasta' fasta.dat &&
@@ -33,9 +34,11 @@
 | tee mothur.out.log &&
 
 ## rename collection files for more transparent element naming
-mv fasta.filter.fasta "${fasta.element_identifier}".filter.fasta
+#set $identifier=re.sub('[^\w\-\s\.]', '_', str($fasta.element_identifier))
+mv fasta.filter.fasta '${identifier}.filter.fasta'
 #for i in $inputs:
-    && mv fasta${inputs.index($i)}.filter.fasta "${i.fasta.element_identifier}".filter.fasta
+    #set $identifier=re.sub('[^\w\-\s]', '_', str($i.fasta.element_identifier))
+    && mv fasta${inputs.index($i)}.filter.fasta '${identifier}.filter.fasta'
 #end for
     ]]></command>
     <inputs>
b
diff -r 4e091f12ba0e -r e71c69acde3f test-data/make_group_collection.groups
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/make_group_collection.groups Mon Apr 23 09:34:35 2018 -0400
b
@@ -0,0 +1,20 @@
+M00967_43_000000000-A3JHG_1_1101_19936_3208 test_group
+M00967_43_000000000-A3JHG_1_1101_15923_3823 test_group
+M00967_43_000000000-A3JHG_1_1101_14010_4122 test_group
+M00967_43_000000000-A3JHG_1_1101_13293_4703 test_group
+M00967_43_000000000-A3JHG_1_1101_24357_4866 test_group
+M00967_43_000000000-A3JHG_1_1101_23552_5194 test_group
+M00967_43_000000000-A3JHG_1_1101_7326_5417 test_group
+M00967_43_000000000-A3JHG_1_1101_11148_6457 test_group
+M00967_43_000000000-A3JHG_1_1101_7079_6722 test_group
+M00967_43_000000000-A3JHG_1_1101_8607_6805 test_group
+M00967_43_000000000-A3JHG_1_1101_19936_3208 test_group2
+M00967_43_000000000-A3JHG_1_1101_15923_3823 test_group2
+M00967_43_000000000-A3JHG_1_1101_14010_4122 test_group2
+M00967_43_000000000-A3JHG_1_1101_13293_4703 test_group2
+M00967_43_000000000-A3JHG_1_1101_24357_4866 test_group2
+M00967_43_000000000-A3JHG_1_1101_23552_5194 test_group2
+M00967_43_000000000-A3JHG_1_1101_7326_5417 test_group2
+M00967_43_000000000-A3JHG_1_1101_11148_6457 test_group2
+M00967_43_000000000-A3JHG_1_1101_7079_6722 test_group2
+M00967_43_000000000-A3JHG_1_1101_8607_6805 test_group2