Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 3.08 KB

CONTRIBUTING.md

File metadata and controls

73 lines (56 loc) · 3.08 KB

Contributing

This document is mostly inspired from the IUC contributing policy and describes how to contribute to this repository. Pull requests containing bug fixes, updates, and extensions to the existing tools and tool suites in this repository will be considered for inclusion.

How to Contribute

What to contribute

  • Wrappers for new tools
  • Visualization Plugins
  • Updates for tools
  • Enhancements for tools (e.g. supporting new parameters)
  • Bug fixes
  • Documentation improvements
  • New test cases in <tests> section of tools

Abandoned Tools

  • If this is of general interest, ARTbio may adopt tools that are not updated or abandoned.
  • If there are tools that you find useful but seem to be abandoned and not updated, you're welcome to create an issue recommending that the ARTbio adopts that tool.

What not to contribute

  • Tools already wrapped and currently maintained by other users, unless there are clear indications for missing functionalities not supported in these tools.
  • Wrappers without tests
  • New datatypes
    • When possible, new datatypes should be added directly to the Galaxy codebase.

Tests

Contributed tools must include test cases. They need not necessarily cover all uses of the program, but should ensure that it is generally working. The Galaxy Wiki has a page on writing tests.

ARTbio strongly recommends testing with planemo, which provides a simple command line utility for testing functionality

$ planemo test --install_galaxy my_tool.xml

Requirements for Contributions

Before a PR will be accepted, the ARTbio has some requirements on the submitted code, which we will be happy to help you achieve if you need the assistance.

  • Tools must contain tests and test-data
  • The tools should pass linting by planemo (planemo lint my_tool.xml)
  • If used, python codes must pass linting by flake8
  • The tools must pass tests by planemo (planemo test --install_galaxy my_tool.xml), which are automatically performed by Travis CI in this repository
  • If there is a relevant paper for the tool, it should be cited in a citation block