-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
init MultiQC at 1.19 #284361
Draft
edmundmiller
wants to merge
5
commits into
NixOS:master
Choose a base branch
from
edmundmiller:multiqc
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
init MultiQC at 1.19 #284361
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6032bd4
spectra: init at 0.0.11
edmundmiller eeb7702
pyaml-env: init at 1.2.1
edmundmiller a92178a
multiqc: init at 1.19
edmundmiller 70dc596
multiqc: add long description from README
edmundmiller e4baa7d
multiqc: move importlib-metadata to propagatedBuildInputs
edmundmiller File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ lib | ||
, python3 | ||
, fetchFromGitHub | ||
}: | ||
|
||
python3.pkgs.buildPythonApplication rec { | ||
pname = "multiqc"; | ||
version = "1.19"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "MultiQC"; | ||
repo = "MultiQC"; | ||
rev = "v${version}"; | ||
hash = "sha256-Vdp5Ev0gPuyLGFMCXK4Z8FNhkWXcU43/uHk+KiIoWIk="; | ||
fetchSubmodules = true; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
python3.pkgs.setuptools | ||
python3.pkgs.wheel | ||
]; | ||
|
||
propagatedBuildInputs = with python3.pkgs; [ | ||
importlib-metadata | ||
matplotlib | ||
networkx | ||
numpy | ||
click | ||
coloredlogs | ||
future | ||
jinja2 | ||
markdown | ||
packaging | ||
pyyaml | ||
requests | ||
rich | ||
rich-click | ||
spectra | ||
humanize | ||
pyaml-env | ||
]; | ||
|
||
pythonImportsCheck = [ "multiqc" ]; | ||
|
||
meta = with lib; { | ||
description = "Aggregate results from bioinformatics analyses across many samples into a single report"; | ||
longDescription = '' | ||
MultiQC is a tool to create a single report with interactive plots for multiple bioinformatics analyses across many samples. | ||
|
||
Reports are generated by scanning given directories for recognised log files. | ||
These are parsed and a single HTML report is generated summarising the statistics | ||
for all logs found. MultiQC reports can describe multiple analysis steps and | ||
large numbers of samples within a single plot, and multiple analysis tools making | ||
it ideal for routine fast quality control. | ||
|
||
A very large number of Bioinformatics tools are supported by MultiQC. Please see the MultiQC website for a [complete list](https://multiqc.info/modules/). | ||
MultiQC can also easily parse data from custom scripts, if correctly formatted / configured - a feature called [Custom Content](https://multiqc.info/docs/custom_content/). | ||
|
||
More modules are being written all of the time. Please suggest any ideas as a new | ||
[issue](https://github.com/MultiQC/MultiQC/issues) _(please include example log files)_. | ||
''; | ||
homepage = "https://multiqc.info/"; | ||
changelog = "https://github.com/MultiQC/MultiQC/blob/${src.rev}/CHANGELOG.md"; | ||
license = licenses.gpl3Only; | ||
maintainers = with maintainers; [ edmundmiller ]; | ||
mainProgram = "multiqc"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchFromGitHub | ||
, setuptools | ||
, wheel | ||
, pyyaml | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pyaml-env"; | ||
version = "1.2.1"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "mkaranasou"; | ||
repo = "pyaml_env"; | ||
rev = "v${version}"; | ||
hash = "sha256-xSu+dksSVugShJwOqedXBrXIKaH0G5JAsynauOuP3OA="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
wheel | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
pyyaml | ||
]; | ||
|
||
pythonImportsCheck = [ "pyaml_env" ]; | ||
|
||
meta = with lib; { | ||
description = "Parse YAML configuration with environment variables in Python"; | ||
homepage = "https://github.com/mkaranasou/pyaml_env"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ edmundmiller ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchFromGitHub | ||
, setuptools | ||
, wheel | ||
, colormath | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "spectra"; | ||
version = "0.0.11"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jsvine"; | ||
repo = "spectra"; | ||
rev = "v${version}"; | ||
hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
wheel | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
colormath | ||
]; | ||
|
||
pythonImportsCheck = [ "spectra" ]; | ||
|
||
meta = with lib; { | ||
description = "Easy color scales and color conversion for Python"; | ||
homepage = "https://github.com/jsvine/spectra"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ edmundmiller ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use
pkgs/by-name
and avoid editing the way too largeall-packages.nix
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nowadays by-name is mandatory