11 desktopToDarwinBundle,
15 stdenv.mkDerivation (finalAttrs: {
20 url = "https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v${finalAttrs.version}.zip";
21 hash = "sha256-TenRG2x8ivJ2HM2ZpLaJShp0yI0Qc6K5lW5/NJFAa1I";
31 ++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems # postInstallHook
32 ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle; # fixupOutputHook
43 desktopName = "FastQC";
44 comment = finalAttrs.meta.description;
45 categories = [ "Science" ];
48 desktopItems = [ finalAttrs.desktopItem ];
53 mkdir -p $out/{bin,FastQC}
54 cp -r $src/* $out/FastQC
57 mkdir -p $out/share/{applications,icons}
58 # Freedesktop doesn't support windows ICO files. Use imagemagick to convert it to PNG
59 convert $out/FastQC/fastqc_icon.ico $out/share/icons/fastqc.png
65 makeWrapper $out/FastQC/fastqc $out/bin/fastqc --prefix PATH : ${jre}/bin
68 passthru.tests.version = testers.testVersion {
69 package = finalAttrs.finalPackage;
70 version = "v${finalAttrs.version}";
74 description = "A quality control application for high throughput sequence data";
76 FastQC aims to provide a simple way to do some quality control checks on raw sequence data coming from high throughput sequencing pipelines. It provides a modular set of analyses which you can use to give a quick impression of whether your data has any problems of which you should be aware before doing any further analysis.
78 The main functions of FastQC are
80 - Import of data from BAM, SAM or FastQ files (any variant)
81 - Providing a quick overview to tell you in which areas there may be problems
82 - Summary graphs and tables to quickly assess your data
83 - Export of results to an HTML based permanent report
84 - Offline operation to allow automated generation of reports without running the interactive application
86 homepage = "https://www.bioinformatics.babraham.ac.uk/projects/fastqc/";
87 sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
88 license = with lib.licenses; [
92 maintainers = [ lib.maintainers.dflores ];
93 mainProgram = "fastqc";
94 platforms = lib.platforms.unix;