/tools/stats/count_gff_features.xml

https://bitbucket.org/cistrome/cistrome-harvard/ · XML · 26 lines · 26 code · 0 blank · 0 comment · 0 complexity · 3183b17ccafd48b642ab38e4712f2bdf MD5 · raw file

  1. <tool id="count_gff_features" name="Count GFF Features" version="0.1">
  2. <description></description>
  3. <command interpreter="python">
  4. count_gff_features.py $input &gt; $output
  5. </command>
  6. <inputs>
  7. <param format="gff" name="input" type="data" label="GFF Dataset to Filter"/>
  8. </inputs>
  9. <outputs>
  10. <data format="txt" name="output"/>
  11. </outputs>
  12. <tests>
  13. <test>
  14. <param name="input" value="gff2bed_in2.gff"/>
  15. <output name="output" file="count_gff_features_out1.txt"/>
  16. </test>
  17. <test>
  18. <param name="input" value="gff_filter_by_feature_count_out1.gff"/>
  19. <output name="output" file="count_gff_features_out2.txt"/>
  20. </test>
  21. </tests>
  22. <help>
  23. Counts the number of features in a GFF dataset. GFF features are often spread across multiple lines; this tool counts the number of
  24. features in dataset rather than the number of lines.
  25. </help>
  26. </tool>