Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.62 KB

CONTRIBUTING.md

File metadata and controls

44 lines (30 loc) · 2.62 KB

MultiQC Contributing Guidelines

Hi there! Many thanks for taking an interest in improving MultiQC.

I try to manage the required tasks for MultiQC using GitHub issues, you probably came to this page when creating one. Most issues come in two flavours - either reporting a problem or requesting a feature. Please use the template prefilled into new issues when this is the case as it saves time. The most common reason for long-running issues is module requests without any example log files for example.

However, don't be put off by this template - other more general issues and suggestions are welcome! Contributions to the code are even more welcome ;)

If you need help using MultiQC then the best place to go is the Seqera community forum where you can questions in the MultiQC category: https://community.seqera.io

Contribution workflow

If you'd like to write some code for MultiQC, the standard workflow is as follows:

  1. Check that there isn't already an issue about your idea in the MultiQC issues to avoid duplicating work.
    • Feel free to add a new issue here for the same reason.
  2. Fork the MultiQC repository to your GitHub account
  3. Make the necessary changes / additions within your forked repository
  4. Submit a Pull Request and wait for the code to be reviewed and merged.

If you're not used to this workflow with git, you can start with some basic docs from GitHub.

When it comes to MultiQC, please consult the MultiQC documentation and don't hesitate to get in touch on the community forums for help and feedback.

A few pointers to bear in mind:

  • New modules should be fast
    • MultiQC modules parse log files, they don't calculating new metrics (typically).
  • New modules must scale well
    • Try to imagine what will happen if someone runs your module with 5000 samples

Review workflow

Once you've submitted a new pull request, here's what you can expect from me:

  • I usually don't look at your code at all until the automated tests pass
    • The tests use example data in the test-data repository, so you'll need some files there before the PR will go any further.
    • The tests use GitHub Actions so should also run automatically on your fork.
  • First pass - I go through and give feedback just by reading the code
  • Second pass - I download and run your code, usually more feedback
  • Merge! Once we're both happy, I merge into the main codebase.