Repository 'khmer'
hg clone https://testtoolshed.g2.bx.psu.edu/repos/crusoe/khmer

Changeset 26:de12b461034f (2014-06-29)
Previous changeset 25:f2151b15d0b6 (2014-06-29) Next changeset 27:e6b1ef398fc8 (2014-06-29)
Commit message:
fix nobigcount
modified:
abundance-dist-single.xml
abundance-dist.xml
macros.xml
added:
test-data/test-abund-read-2.nobigcount.ct
b
diff -r f2151b15d0b6 -r de12b461034f abundance-dist-single.xml
--- a/abundance-dist-single.xml Sun Jun 29 12:51:01 2014 -0400
+++ b/abundance-dist-single.xml Sun Jun 29 13:01:27 2014 -0400
b
@@ -35,12 +35,7 @@
  type="boolean"
  label="Save the k-mer counting table(s) in a file"
  help="" />
- <param name="zero"
- type="boolean"
- truevalue=""
- falsevalue="--no-zero"
- checked="true" 
- help="Output zero count bins" />
+ <expand macron="input_zero" />
  <param name="bigcount"
  type="boolean"
  truevalue=""
b
diff -r f2151b15d0b6 -r de12b461034f abundance-dist.xml
--- a/abundance-dist.xml Sun Jun 29 12:51:01 2014 -0400
+++ b/abundance-dist.xml Sun Jun 29 13:01:27 2014 -0400
b
@@ -17,14 +17,16 @@
 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
 mkdir output; cd output;
 @BINARY@
- $input_counting_table_filename
- $input_sequence_filename
- $output_histogram_filename
+--squash
+$input_counting_table_filename
+$input_sequence_filename
+$output_histogram_filename
  </command>
 
  <inputs>
  <expand macro="input_sequence_filename" />
  <expand macro="input_counting_table_filename" />
+ <expand macro="input_zero" />
  </inputs>
  <outputs>
  <expand macro="abundance-histogram-output" />
@@ -49,9 +51,8 @@
  </test>
  <test>
                      <param name="input_sequence_filename" value="test-abund-read-2.fa" />
-  <param name="input_counting_table_filename" value="test-abund-read-2.ct" />
+  <param name="input_counting_table_filename" value="test-abund-read-2.nobigcount.ct" />
                   <param name="no_zero" value="false" />
-                     <param name="no_bigcount" value="false" />
                      <output name="output_histogram_filename">
                              <assert_contents>
                                      <has_text text="1 96 96 0.98" />
b
diff -r f2151b15d0b6 -r de12b461034f macros.xml
--- a/macros.xml Sun Jun 29 12:51:01 2014 -0400
+++ b/macros.xml Sun Jun 29 13:01:27 2014 -0400
b
@@ -104,4 +104,12 @@
                         <discover_datasets pattern="__name__" directory="output" visible="true"/>
                 </data>
  </xml>
+ <xml name="input_zero">
+                <param  name="zero"
+                        type="boolean"
+                        truevalue=""
+                        falsevalue="--no-zero"
+                        checked="true" 
+                        help="Output zero count bins" />
+ </xml>
 `</macros>
b
diff -r f2151b15d0b6 -r de12b461034f test-data/test-abund-read-2.nobigcount.ct
b
Binary file test-data/test-abund-read-2.nobigcount.ct has changed