diff --git a/README.md b/README.md index d9e2748..fa97335 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ outputs/ service_info.json workflow_engine_params.t run.pid start_time.txt yevis-metadata.yml # Execute sapporo/ro_crate.py script -$ docker run --rm -v $PWD:$PWD -w $PWD ghcr.io/sapporo-wes/sapporo-service:latest python3 /app/sapporo/ro_crate.py $PWD +$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v $PWD:$PWD -w $PWD ghcr.io/sapporo-wes/sapporo-service:latest python3 /app/sapporo/ro_crate.py $PWD ``` ## Development diff --git a/tests/example_crate/gatk_1st.json b/tests/example_crate/gatk_1st.json index b01b0b5..9a6e91c 100644 --- a/tests/example_crate/gatk_1st.json +++ b/tests/example_crate/gatk_1st.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T15:58:25+00:00", + "datePublished": "2022-09-20T14:09:26+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -2529,7 +2529,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291744768, + "freeDiskSpace": 138369884160, "gid": 0, "inDocker": true, "os": "Linux", @@ -4162,7 +4162,7 @@ } ], "pid": 12, - "runId": "work", + "runId": "gatk_1st", "startTime": "2022-09-08T09:30:03", "state": "COMPLETE", "stderr": { @@ -4265,6 +4265,28 @@ "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/G97753.NA12878.vcf.idx" }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#8a8cb096-c6ac-46ea-8da1-8818e562748c", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.3063459248661424, + "duplicateReads": 719878, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 2349886, + "totalReads": 2349886, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/G97753.NA12878.bam", "@type": [ @@ -4281,6 +4303,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "5bb2600f09cdbb7847e2bac06ebf1323f97a9243a0323c5429c375ed262965334952f3e4eda904096aa7ea6f1f79a4c05f5443785257ee981bbaff65ce2d531c", + "stats": { + "@id": "#8a8cb096-c6ac-46ea-8da1-8818e562748c" + }, "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/G97753.NA12878.bam" }, @@ -4331,6 +4356,24 @@ "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/G97753.NA12878.vcf" }, + { + "@id": "#vcftools", + "@type": "SoftwareApplication", + "name": "vcftools", + "version": "0.1.16--pl5321h9a82719_6" + }, + { + "@id": "#c80f6b40-0f8e-4a32-96f4-8e4b3678f8e1", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 2, + "snpsCount": 16, + "variantCount": 18 + }, { "@id": "outputs/splitAndPassOnly.vcf", "@type": [ @@ -4348,6 +4391,9 @@ "lineCount": 96, "mode": "-rw-r--r--", "sha512": "9278bb53e11183d0be5fcb45c5eea49235bbbc02da9d2181c4c32bd13550a8059f0348e3db4314de3778214dd584271063c97d60b89687328255a5c786ac3fa4", + "stats": { + "@id": "#c80f6b40-0f8e-4a32-96f4-8e4b3678f8e1" + }, "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/splitAndPassOnly.vcf" }, @@ -4368,6 +4414,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/per_base_coverage.tsv" }, + { + "@id": "#fe047f14-c581-485e-823f-1150f5b9d4f4", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.3063243148927087, + "duplicateReads": 723304, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 0.9999944944088605, + "mappedReads": 2361223, + "totalReads": 2361236, + "unmappedRate": 5.505591139555724e-06, + "unmappedReads": 13 + }, { "@id": "outputs/G97753.NA12878.realigned.bam", "@type": [ @@ -4384,6 +4446,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "057c8d8eeb508e0792e39fd45fbfab4eecb9c15b601a4d9fdc540ae21e55aaaddcb8079978fa97efe799db0fddfa6b792cac9db662bb0d121da403acceda8781", + "stats": { + "@id": "#fe047f14-c581-485e-823f-1150f5b9d4f4" + }, "uid": 1000, "url": "http://localhost:1122/runs/c71fb9c2-b6e8-48f4-9350-c9b6ab4647dc/data/outputs/G97753.NA12878.realigned.bam" }, diff --git a/tests/example_crate/gatk_2nd.json b/tests/example_crate/gatk_2nd.json index c36c575..1934b20 100644 --- a/tests/example_crate/gatk_2nd.json +++ b/tests/example_crate/gatk_2nd.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T15:59:23+00:00", + "datePublished": "2022-09-20T14:10:50+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -2529,7 +2529,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291736576, + "freeDiskSpace": 138361393152, "gid": 0, "inDocker": true, "os": "Linux", @@ -4162,7 +4162,7 @@ } ], "pid": 12, - "runId": "work", + "runId": "gatk_2nd", "startTime": "2022-09-08T08:59:34", "state": "COMPLETE", "stderr": { @@ -4265,6 +4265,28 @@ "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/G97753.NA12878.vcf.idx" }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#74251a63-fbc5-4694-97d3-bed9a43c6a30", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.3063459248661424, + "duplicateReads": 719878, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 2349886, + "totalReads": 2349886, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/G97753.NA12878.bam", "@type": [ @@ -4281,6 +4303,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "2ca1e340a4eec22d5d254d5e5c30bd7fea5215fd09f4b424553933b88a61f971b59049d550054fa911c4cc686b08e82a7106bab44a4ac7cadc8e4a525718be43", + "stats": { + "@id": "#74251a63-fbc5-4694-97d3-bed9a43c6a30" + }, "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/G97753.NA12878.bam" }, @@ -4331,6 +4356,24 @@ "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/G97753.NA12878.vcf" }, + { + "@id": "#vcftools", + "@type": "SoftwareApplication", + "name": "vcftools", + "version": "0.1.16--pl5321h9a82719_6" + }, + { + "@id": "#c2c735ed-405b-4ac6-aba1-eeaf31e2d3a6", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 2, + "snpsCount": 16, + "variantCount": 18 + }, { "@id": "outputs/splitAndPassOnly.vcf", "@type": [ @@ -4348,6 +4391,9 @@ "lineCount": 96, "mode": "-rw-r--r--", "sha512": "e869e0002f11260c7e2573f11d84a67f281301ccc20744d84f11409552214154dddfad3acf09aacf2e9af3d985a41147ac64563fda64750767576dffaf343d67", + "stats": { + "@id": "#c2c735ed-405b-4ac6-aba1-eeaf31e2d3a6" + }, "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/splitAndPassOnly.vcf" }, @@ -4368,6 +4414,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/per_base_coverage.tsv" }, + { + "@id": "#80c75c41-a993-4f09-a6cc-e11faa5f5581", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.3063243148927087, + "duplicateReads": 723304, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 0.9999944944088605, + "mappedReads": 2361223, + "totalReads": 2361236, + "unmappedRate": 5.505591139555724e-06, + "unmappedReads": 13 + }, { "@id": "outputs/G97753.NA12878.realigned.bam", "@type": [ @@ -4384,6 +4446,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "2b818b96876ccceae64a715f4ce08a0254265598c98f20130dec8e3fed7b241f8cb4ef3bed3da611f59460b55744ebb6b137c4e31806e48f3232a105eb180ab7", + "stats": { + "@id": "#80c75c41-a993-4f09-a6cc-e11faa5f5581" + }, "uid": 1000, "url": "http://localhost:1122/runs/cc91b422-25a2-4721-8d66-477ef4e141a7/data/outputs/G97753.NA12878.realigned.bam" }, diff --git a/tests/example_crate/gatk_mac.json b/tests/example_crate/gatk_mac.json index 63b34eb..0d46a0a 100644 --- a/tests/example_crate/gatk_mac.json +++ b/tests/example_crate/gatk_mac.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:01:36+00:00", + "datePublished": "2022-09-20T14:13:10+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -637,7 +637,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291724288, + "freeDiskSpace": 138361294848, "gid": 0, "inDocker": true, "os": "Linux", @@ -1323,7 +1323,7 @@ ], "name": "Sapporo test result", "pid": 615, - "runId": "work", + "runId": "gatk_mac", "startTime": "2022-09-14T05:42:22", "state": "EXECUTOR_ERROR", "stderr": { diff --git a/tests/example_crate/jga_1st.json b/tests/example_crate/jga_1st.json index dae81a0..d646dbe 100644 --- a/tests/example_crate/jga_1st.json +++ b/tests/example_crate/jga_1st.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:03:06+00:00", + "datePublished": "2022-09-20T14:15:05+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -795,7 +795,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291556352, + "freeDiskSpace": 138361159680, "gid": 0, "inDocker": true, "os": "Linux", @@ -1541,7 +1541,7 @@ } ], "pid": 12, - "runId": "work", + "runId": "jga_1st", "startTime": "2022-09-10T13:33:40", "state": "COMPLETE", "stderr": { @@ -1697,6 +1697,24 @@ "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.cram.idxstats" }, + { + "@id": "#vcftools", + "@type": "SoftwareApplication", + "name": "vcftools", + "version": "0.1.16--pl5321h9a82719_6" + }, + { + "@id": "#1a960c73-e6b2-42a5-ba81-06634a7fef68", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 1, + "snpsCount": 14, + "variantCount": 1061 + }, { "@id": "outputs/NA19023.autosome_PAR_ploidy_2.g.vcf.gz", "@type": [ @@ -1713,6 +1731,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "58b1ed78251ababa6dc48d8f1e51d07fc1c551e2e0382cd4e593bd790d33a7141c6d45816a2c2c4e57c70b8d067b7fe736cf795f9e88974eb8aba8f31ec0bde6", + "stats": { + "@id": "#1a960c73-e6b2-42a5-ba81-06634a7fef68" + }, "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.autosome_PAR_ploidy_2.g.vcf.gz" }, @@ -1804,6 +1825,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.cram.collect_base_dist_by_cycle" }, + { + "@id": "#6f6dd093-3a4d-4f77-9b6a-dec713436eb5", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 4, + "variantCount": 42 + }, { "@id": "outputs/NA19023.chrY_nonPAR_ploidy_1.g.vcf.gz", "@type": [ @@ -1820,6 +1853,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "a4876258fd697980a3a7ed678f3d3923049b68b4e2058293b6f4d3d55d12b583f4e701971c33ca9078a8f1b6951a177b07e9019a6b6928dfe4c507909a7c0e96", + "stats": { + "@id": "#6f6dd093-3a4d-4f77-9b6a-dec713436eb5" + }, "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.chrY_nonPAR_ploidy_1.g.vcf.gz" }, @@ -2019,6 +2055,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz.bcftools-stats.log" }, + { + "@id": "#b66fcc34-d00c-4937-809a-fb3f943485dd", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 0, + "variantCount": 2 + }, { "@id": "outputs/NA19023.chrX_nonPAR_ploidy_2.g.vcf.gz", "@type": [ @@ -2035,6 +2083,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "28387445db7849fa2957130d2979e11e2329adeb3c80dc38cabd2e8dc07c71a425f26160ee8fb313315db4c8343be52475591b889ecbf61645cec3d18b0c0cf3", + "stats": { + "@id": "#b66fcc34-d00c-4937-809a-fb3f943485dd" + }, "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.chrX_nonPAR_ploidy_2.g.vcf.gz" }, @@ -2367,6 +2418,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.cram.collect_base_dist_by_cycle.chart.pdf" }, + { + "@id": "#6a0909e9-431c-4301-8460-1fbfd21d69b9", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 0, + "variantCount": 2 + }, { "@id": "outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz", "@type": [ @@ -2383,6 +2446,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "2eac577b0626787c8e1b8546f42310cf9dcbea882292516cdbd8a75a05166653abffb75551eaaebf3a0c9cde31a3d54a481b5f1360b5205ec2d8dc73854192cc", + "stats": { + "@id": "#6a0909e9-431c-4301-8460-1fbfd21d69b9" + }, "uid": 1000, "url": "http://localhost:1122/runs/79027d00-d40c-4d25-b71d-3c07afc9ac86/data/outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz" }, diff --git a/tests/example_crate/jga_2nd.json b/tests/example_crate/jga_2nd.json index 39d9bd1..b5df3cf 100644 --- a/tests/example_crate/jga_2nd.json +++ b/tests/example_crate/jga_2nd.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:08:53+00:00", + "datePublished": "2022-09-20T14:21:16+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -795,7 +795,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291490816, + "freeDiskSpace": 138361094144, "gid": 0, "inDocker": true, "os": "Linux", @@ -1541,7 +1541,7 @@ } ], "pid": 12, - "runId": "work", + "runId": "jga_2nd", "startTime": "2022-09-10T20:40:42", "state": "COMPLETE", "stderr": { @@ -1697,6 +1697,24 @@ "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.cram.idxstats" }, + { + "@id": "#vcftools", + "@type": "SoftwareApplication", + "name": "vcftools", + "version": "0.1.16--pl5321h9a82719_6" + }, + { + "@id": "#fbbf2633-4e5d-41f1-9639-a0a00cc027d9", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 1, + "snpsCount": 14, + "variantCount": 1061 + }, { "@id": "outputs/NA19023.autosome_PAR_ploidy_2.g.vcf.gz", "@type": [ @@ -1713,6 +1731,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "fe0e68834eb46245ab1e4b7c33966f0a41c049d3bba93188815a5e73537e148211f05622b51232c1417c554ed01e28634fc8d290db7be33e890f539d0abe8704", + "stats": { + "@id": "#fbbf2633-4e5d-41f1-9639-a0a00cc027d9" + }, "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.autosome_PAR_ploidy_2.g.vcf.gz" }, @@ -1804,6 +1825,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.cram.collect_base_dist_by_cycle" }, + { + "@id": "#4d9425fa-5c74-4b83-8e43-66102f654625", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 4, + "variantCount": 42 + }, { "@id": "outputs/NA19023.chrY_nonPAR_ploidy_1.g.vcf.gz", "@type": [ @@ -1820,6 +1853,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "13b1802512ace1d93b0d72196ebd8db973d7c1abc2b591fd640f126a7cba8c215af4a8b6a4d95c09a75197a4eaa43f594dc8d07c12a77eee442babcd7505ce67", + "stats": { + "@id": "#4d9425fa-5c74-4b83-8e43-66102f654625" + }, "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.chrY_nonPAR_ploidy_1.g.vcf.gz" }, @@ -2019,6 +2055,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz.bcftools-stats.log" }, + { + "@id": "#afd1e11b-f5f3-4a8e-8cc2-597adf67c627", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 0, + "variantCount": 2 + }, { "@id": "outputs/NA19023.chrX_nonPAR_ploidy_2.g.vcf.gz", "@type": [ @@ -2035,6 +2083,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "cb4e9e8f30cdbd36199db9e510226838e824d4ee2af63555ab570f49bb5317b4cbf3e753963069a02146e4bafa828a2ca1d12e9908b11a5ffd66c1d3903ec0d5", + "stats": { + "@id": "#afd1e11b-f5f3-4a8e-8cc2-597adf67c627" + }, "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.chrX_nonPAR_ploidy_2.g.vcf.gz" }, @@ -2367,6 +2418,18 @@ "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.cram.collect_base_dist_by_cycle.chart.pdf" }, + { + "@id": "#4e470536-7960-43b0-9e58-000c88bf61ef", + "@type": [ + "FileStats" + ], + "generatedBy": { + "@id": "#vcftools" + }, + "indelsCount": 0, + "snpsCount": 0, + "variantCount": 2 + }, { "@id": "outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz", "@type": [ @@ -2383,6 +2446,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "b444bb4d8be6fc46e731ab8dd7e2ed9379a1a433d2391a170af08f6d560f5c8b0019db6afe0e618dc578fae8fb46ff313fde27a9c60a89201e7e16b7f3cd452a", + "stats": { + "@id": "#4e470536-7960-43b0-9e58-000c88bf61ef" + }, "uid": 1000, "url": "http://localhost:1122/runs/7e91fa2d-09b8-4887-ab7c-5391aa2787d1/data/outputs/NA19023.chrX_nonPAR_ploidy_1.g.vcf.gz" }, diff --git a/tests/example_crate/jga_mac.json b/tests/example_crate/jga_mac.json index 7d45b09..207d456 100644 --- a/tests/example_crate/jga_mac.json +++ b/tests/example_crate/jga_mac.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:14:56+00:00", + "datePublished": "2022-09-20T14:27:17+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -373,7 +373,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291453952, + "freeDiskSpace": 138361024512, "gid": 0, "inDocker": true, "os": "Linux", @@ -518,7 +518,7 @@ "intermediateFiles": [], "name": "Sapporo test result", "pid": 21, - "runId": "work", + "runId": "jga_mac", "startTime": "2022-09-15T06:49:26", "state": "CANCELED", "stderr": { diff --git a/tests/example_crate/rnaseq_1st.json b/tests/example_crate/rnaseq_1st.json index f199a27..f466b7c 100644 --- a/tests/example_crate/rnaseq_1st.json +++ b/tests/example_crate/rnaseq_1st.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:33:01+00:00", + "datePublished": "2022-09-20T16:32:40+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -28054,7 +28054,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138291318784, + "freeDiskSpace": 138676146176, "gid": 0, "inDocker": true, "os": "Linux", @@ -42606,6 +42606,28 @@ ], "name": "BAM format, the binary, BGZF-formatted compressed version of SAM format for alignment of nucleotide sequences (e.g. sequencing reads) to (a) reference sequence(s). May contain base-call and alignment qualities and other data." }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#31d3ba80-21df-4ab7-93e7-558154d07161", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.8027008887713803, + "duplicateReads": 78936, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 98338, + "totalReads": 98338, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam", "@type": [ @@ -42622,6 +42644,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "2d6c8436dd1da0e4e49f9bdfbf8d656d7740f7eae149bb2add417d6739c05aeb441aa84239041f9aac87688042c7b31bfca5c95d0dfaf742512f2e740a788979", + "stats": { + "@id": "#31d3ba80-21df-4ab7-93e7-558154d07161" + }, "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam" }, @@ -42659,6 +42684,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/salmon.merged.transcript_tpm.tsv" }, + { + "@id": "#370adaac-77d7-41ca-a080-f67c71674d90", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.20436350886885568, + "duplicateReads": 38470, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 188243, + "totalReads": 188243, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP1.markdup.sorted.bam", "@type": [ @@ -42675,6 +42716,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "376d5abf18cff8104448ccd1103b28c969f1ebf77d7704fb423877fba1ddac3204c9dd3334761ff9fbb46ab2e19cd7e2c0330865abbc293b11fd3c4c50e59932", + "stats": { + "@id": "#370adaac-77d7-41ca-a080-f67c71674d90" + }, "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/WT_REP1.markdup.sorted.bam" }, @@ -42696,6 +42740,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/salmon.merged.gene_counts_scaled.tsv" }, + { + "@id": "#7553be3d-296f-4d2a-ad8e-6c218b7d63e4", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.7400081566068516, + "duplicateReads": 36290, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49040, + "totalReads": 49040, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam", "@type": [ @@ -42712,6 +42772,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "996aa0676d4547c65d76978fb0b23da27480647f9789502dc54f702620f887b33aaac4a913b9d5d5251e1d63633b550d7c55ccc80665896c3a5532dddec3153a", + "stats": { + "@id": "#7553be3d-296f-4d2a-ad8e-6c218b7d63e4" + }, "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam" }, @@ -42847,6 +42910,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/salmon.merged.gene_counts_length_scaled.rds" }, + { + "@id": "#aa6c5548-8057-4bec-b6d9-2a274028991e", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.12314565070802427, + "duplicateReads": 11688, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94912, + "totalReads": 94912, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam", "@type": [ @@ -42863,9 +42942,28 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "9fbb0615e8a71715b3df3cc3a465deadd50b4dba5c8f58867fea1d1d3295bc6c5763d904e77442c31ba8a95d9e95fc60d1b5d25be94768dd65834ae20d607cff", + "stats": { + "@id": "#aa6c5548-8057-4bec-b6d9-2a274028991e" + }, "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam" }, + { + "@id": "#65261133-607f-4c35-b079-2cce13a1370f", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.1288405935246084, + "duplicateReads": 12165, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94419, + "totalReads": 94419, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP2.markdup.sorted.bam", "@type": [ @@ -42882,6 +42980,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "4bbe80c73aaa808120d28f512c9adff4fa49301b48547f82d65cc7abde7d1dfe01df8dd8c3fb66327734426caa0e8a42f218caa9b708cc67ea6ee4c97441355d", + "stats": { + "@id": "#65261133-607f-4c35-b079-2cce13a1370f" + }, "uid": 1000, "url": "http://localhost:1122/runs/93f4d8bf-424d-4d5e-bc79-9482e1620be9/data/outputs/star_salmon/WT_REP2.markdup.sorted.bam" }, diff --git a/tests/example_crate/rnaseq_2nd.json b/tests/example_crate/rnaseq_2nd.json index 8b026f1..6e0c451 100644 --- a/tests/example_crate/rnaseq_2nd.json +++ b/tests/example_crate/rnaseq_2nd.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:36:14+00:00", + "datePublished": "2022-09-20T16:35:48+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -28054,7 +28054,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138290511872, + "freeDiskSpace": 138676293632, "gid": 0, "inDocker": true, "os": "Linux", @@ -42606,6 +42606,28 @@ ], "name": "BAM format, the binary, BGZF-formatted compressed version of SAM format for alignment of nucleotide sequences (e.g. sequencing reads) to (a) reference sequence(s). May contain base-call and alignment qualities and other data." }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#217897d6-c500-4e1b-893b-00dcfb261243", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.8027008887713803, + "duplicateReads": 78936, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 98338, + "totalReads": 98338, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam", "@type": [ @@ -42622,6 +42644,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "82837872244acce8b015ea12eabc2bd2a20a32c1fdc2446afd44bb482c648fe42eda58fa3ebd8329e41256fafb2867dfbea7065da1732152cbca71ccfd497641", + "stats": { + "@id": "#217897d6-c500-4e1b-893b-00dcfb261243" + }, "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam" }, @@ -42659,6 +42684,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/salmon.merged.transcript_tpm.tsv" }, + { + "@id": "#fba8bba4-fd8e-4fc6-bf0b-2a145a7523b7", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.20436350886885568, + "duplicateReads": 38470, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 188243, + "totalReads": 188243, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP1.markdup.sorted.bam", "@type": [ @@ -42675,6 +42716,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "2b39c0a7acfb0ac410c481d0f9f52a15bfd48cc2e68b3c6e05412382567629db3a031adcbd95a9a1c8ab084a4296a92b1791f82647275ecaee325a922a20f247", + "stats": { + "@id": "#fba8bba4-fd8e-4fc6-bf0b-2a145a7523b7" + }, "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/WT_REP1.markdup.sorted.bam" }, @@ -42696,6 +42740,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/salmon.merged.gene_counts_scaled.tsv" }, + { + "@id": "#357a2b4b-e2b8-4aa1-8daf-c152f08af1c0", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.7400081566068516, + "duplicateReads": 36290, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49040, + "totalReads": 49040, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam", "@type": [ @@ -42712,6 +42772,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "5373143af1c358165bc6718c698247ae3e14a7e3b90f92e601f8bdb128db19df14493120fd1bef8ad31f9df1b00d9af7d19d8d7b19a92a4db3486750dccdc112", + "stats": { + "@id": "#357a2b4b-e2b8-4aa1-8daf-c152f08af1c0" + }, "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam" }, @@ -42847,6 +42910,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/salmon.merged.gene_counts_length_scaled.rds" }, + { + "@id": "#07d53260-822f-4aac-9c07-bca3cd8cbbcf", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.12314565070802427, + "duplicateReads": 11688, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94912, + "totalReads": 94912, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam", "@type": [ @@ -42863,9 +42942,28 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "0501f4e928c3f8cb1c0e94be88ba62d89dca2315361349f6a6e3dc193859f2bebc441a4af130a1ea8c1e74d7a91e880b4102cc1ca55d614ab8350bb2e4e947fb", + "stats": { + "@id": "#07d53260-822f-4aac-9c07-bca3cd8cbbcf" + }, "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam" }, + { + "@id": "#c789d4c7-4b59-47bf-bc93-0f870e5fe4af", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.1288405935246084, + "duplicateReads": 12165, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94419, + "totalReads": 94419, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP2.markdup.sorted.bam", "@type": [ @@ -42882,6 +42980,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "5cb985259ea21df355d7279c08b0a8172ca8b0bc1714517dc4d9e9415c21bc4c864a9ea44e9eaecc74809070a0285270746f00a35aad6853c9130847034a2eda", + "stats": { + "@id": "#c789d4c7-4b59-47bf-bc93-0f870e5fe4af" + }, "uid": 1000, "url": "http://localhost:1122/runs/7db408c0-b88d-485a-97b0-7a42add17e9b/data/outputs/star_salmon/WT_REP2.markdup.sorted.bam" }, diff --git a/tests/example_crate/rnaseq_mac.json b/tests/example_crate/rnaseq_mac.json index 24b98d2..7d6e2be 100644 --- a/tests/example_crate/rnaseq_mac.json +++ b/tests/example_crate/rnaseq_mac.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:39:35+00:00", + "datePublished": "2022-09-20T16:50:38+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -4435,7 +4435,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289729536, + "freeDiskSpace": 138676137984, "gid": 0, "inDocker": true, "os": "Linux", diff --git a/tests/example_crate/rnaseq_only_sapporo.json b/tests/example_crate/rnaseq_only_sapporo.json index c84164e..1ba28cc 100644 --- a/tests/example_crate/rnaseq_only_sapporo.json +++ b/tests/example_crate/rnaseq_only_sapporo.json @@ -81,7 +81,7 @@ "about": { "@id": "#sapporo-test-suite" }, - "datePublished": "2022-09-17T16:39:45+00:00", + "datePublished": "2022-09-20T16:50:48+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -28018,7 +28018,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289745920, + "freeDiskSpace": 138676137984, "gid": 0, "inDocker": true, "os": "Linux", @@ -42550,6 +42550,28 @@ ], "name": "BAM format, the binary, BGZF-formatted compressed version of SAM format for alignment of nucleotide sequences (e.g. sequencing reads) to (a) reference sequence(s). May contain base-call and alignment qualities and other data." }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#f253fa6c-6362-4bb3-9059-bc3bdb9a7524", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.8027008887713803, + "duplicateReads": 78936, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 98338, + "totalReads": 98338, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam", "@type": [ @@ -42566,6 +42588,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "0a0d52086af97b259f0f6e19ad1e9daa3155e642c0ddae886e793843c7dd4e5dedc279dbbc61ca0a1f7f441102b39ee8c1eb879cf8c76a94737ffaf3706b332b", + "stats": { + "@id": "#f253fa6c-6362-4bb3-9059-bc3bdb9a7524" + }, "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam" }, @@ -42603,6 +42628,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/salmon.merged.transcript_tpm.tsv" }, + { + "@id": "#0270ed53-4db8-49cf-86e5-e40ddea4395b", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.20436350886885568, + "duplicateReads": 38470, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 188243, + "totalReads": 188243, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP1.markdup.sorted.bam", "@type": [ @@ -42619,6 +42660,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "b592d8184d2c582357f52d3a4ef3b702f609923aa3fb9c25bf6fbd979f206d213863396b58560558b5eba51d79aeaee200ec6a1cd05e49f4f6ff6f1d237f2b83", + "stats": { + "@id": "#0270ed53-4db8-49cf-86e5-e40ddea4395b" + }, "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/WT_REP1.markdup.sorted.bam" }, @@ -42640,6 +42684,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/salmon.merged.gene_counts_scaled.tsv" }, + { + "@id": "#f1f3bec4-4f01-4880-898f-b9edc01024b9", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.7400081566068516, + "duplicateReads": 36290, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49040, + "totalReads": 49040, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam", "@type": [ @@ -42656,6 +42716,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "3d9fdc02118f5a596e79a0eb7f36851d8634c0d6ee974c207790fdc4a92bf78679e77733968e977e59c11bea20dea9c7b2c288afa550f90befa1bdfbe3b5c255", + "stats": { + "@id": "#f1f3bec4-4f01-4880-898f-b9edc01024b9" + }, "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam" }, @@ -42791,6 +42854,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/salmon.merged.gene_counts_length_scaled.rds" }, + { + "@id": "#1a583f03-4702-4ec5-ad58-307b569c9c1c", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.12314565070802427, + "duplicateReads": 11688, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94912, + "totalReads": 94912, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam", "@type": [ @@ -42807,9 +42886,28 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "ae19f032e007a95ccc0dbded00414853afb95e7c0dd2419cf6151a83bf8bcd4649f5e734b2c39ace001dea2fd337df933081b72dde21229a2e65307dead224c1", + "stats": { + "@id": "#1a583f03-4702-4ec5-ad58-307b569c9c1c" + }, "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam" }, + { + "@id": "#b9399956-e2f4-4045-ab49-d36d0288f505", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.1288405935246084, + "duplicateReads": 12165, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94419, + "totalReads": 94419, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP2.markdup.sorted.bam", "@type": [ @@ -42826,6 +42924,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "421c71af8f6c530ccf55e5bb926c1a5bdda67cdbeca1e34226e1c51f4de928e43cca24dfa6cce5007e8c11ec1964ed57f0a14c6c85664932c52369e0b3b30074", + "stats": { + "@id": "#b9399956-e2f4-4045-ab49-d36d0288f505" + }, "uid": 1000, "url": "http://localhost:1122/runs/1c5a197b-2f76-4bf2-a75e-cab7e43fbfeb/data/outputs/star_salmon/WT_REP2.markdup.sorted.bam" }, diff --git a/tests/example_crate/rnaseq_small.json b/tests/example_crate/rnaseq_small.json index 5180766..12aecb3 100644 --- a/tests/example_crate/rnaseq_small.json +++ b/tests/example_crate/rnaseq_small.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:43:06+00:00", + "datePublished": "2022-09-20T16:53:59+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -24106,7 +24106,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289643520, + "freeDiskSpace": 138676047872, "gid": 0, "inDocker": true, "os": "Linux", @@ -36267,6 +36267,28 @@ ], "name": "BAM format, the binary, BGZF-formatted compressed version of SAM format for alignment of nucleotide sequences (e.g. sequencing reads) to (a) reference sequence(s). May contain base-call and alignment qualities and other data." }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#ce06ca08-2320-4b0b-abad-c574c4bf03f9", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.737013184893241, + "duplicateReads": 36278, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49223, + "totalReads": 49223, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam", "@type": [ @@ -36283,6 +36305,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "535d4f966602f371eadcda993709326346cf9e2ae9273d57665e4b18caf642ddba24931e9f5f5f1d713798a694dae082f07972b9788adcb7483961c2c817c417", + "stats": { + "@id": "#ce06ca08-2320-4b0b-abad-c574c4bf03f9" + }, "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam" }, @@ -36320,6 +36345,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/salmon.merged.transcript_tpm.tsv" }, + { + "@id": "#f05b74cc-1045-488f-8aea-cc9bd5c3b72d", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.14666306986781763, + "duplicateReads": 13592, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 92675, + "totalReads": 92675, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP1.markdup.sorted.bam", "@type": [ @@ -36336,6 +36377,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "7d95892d6a25dda3d88da49b6321296b4d4d2c9f40ede037b10c6eea175985b1de0ae5160438c88c3af749b47463e1bc8e7487c8ae03bb9b5d7376745b5356c5", + "stats": { + "@id": "#f05b74cc-1045-488f-8aea-cc9bd5c3b72d" + }, "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/WT_REP1.markdup.sorted.bam" }, @@ -36357,6 +36401,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/salmon.merged.gene_counts_scaled.tsv" }, + { + "@id": "#66032d5a-1043-4d53-b544-1221e3568bc8", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.7400081566068516, + "duplicateReads": 36290, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49040, + "totalReads": 49040, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam", "@type": [ @@ -36373,6 +36433,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "018170c1f242ba57a0ca9d5522153818387c80f4bada61b158eda1bafcb07da1fe31ee5ea7c8adcede840954c328b0a2098f1d36cd47ce7783b0db7749da41df", + "stats": { + "@id": "#66032d5a-1043-4d53-b544-1221e3568bc8" + }, "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam" }, @@ -36492,6 +36555,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/salmon.merged.gene_counts_length_scaled.rds" }, + { + "@id": "#12b2cbd3-add9-4ca6-aa6b-9f64f6d7b427", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.1288405935246084, + "duplicateReads": 12165, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94419, + "totalReads": 94419, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP2.markdup.sorted.bam", "@type": [ @@ -36508,6 +36587,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "1ebd0e1dce6a54293e239cea3c717cda25064f57b21ab86be1b20af4ad775524e84e13643e6a2caf3fcd190d6029846d15baf21014c115a77aeb80f7fda9b2af", + "stats": { + "@id": "#12b2cbd3-add9-4ca6-aa6b-9f64f6d7b427" + }, "uid": 1000, "url": "http://localhost:1122/runs/eaaae8dc-b00f-4b9c-8862-506f310f79fc/data/outputs/star_salmon/WT_REP2.markdup.sorted.bam" }, diff --git a/tests/example_crate/rnaseq_v3.6.json b/tests/example_crate/rnaseq_v3.6.json index d8f4147..69d39d5 100644 --- a/tests/example_crate/rnaseq_v3.6.json +++ b/tests/example_crate/rnaseq_v3.6.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:45:45+00:00", + "datePublished": "2022-09-20T16:56:29+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -28922,7 +28922,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289573888, + "freeDiskSpace": 138675990528, "gid": 0, "inDocker": true, "os": "Linux", @@ -43468,6 +43468,28 @@ ], "name": "BAM format, the binary, BGZF-formatted compressed version of SAM format for alignment of nucleotide sequences (e.g. sequencing reads) to (a) reference sequence(s). May contain base-call and alignment qualities and other data." }, + { + "@id": "#samtools", + "@type": "SoftwareApplication", + "name": "samtools", + "version": "1.15.1--h1170115_0" + }, + { + "@id": "#b62c28be-700b-49b7-b059-fe50c135e0a5", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.8027008887713803, + "duplicateReads": 78936, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 98338, + "totalReads": 98338, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam", "@type": [ @@ -43484,6 +43506,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "de1d8e0525cf3bab70cde8c6fcd1bf282df20aebf77ffdd8888f8436ff3a1894f666b24c2fb97ec2af6f64db7c31a886beac26d4c382b6ab360409f97c94491f", + "stats": { + "@id": "#b62c28be-700b-49b7-b059-fe50c135e0a5" + }, "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/RAP1_UNINDUCED_REP2.markdup.sorted.bam" }, @@ -43521,6 +43546,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/salmon.merged.transcript_tpm.tsv" }, + { + "@id": "#b2e090cb-74c0-450a-a120-b6cf2322cd57", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.20436568016532, + "duplicateReads": 38470, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 188241, + "totalReads": 188241, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP1.markdup.sorted.bam", "@type": [ @@ -43537,6 +43578,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "5814285668e232e4f372a6ec0a3f3f4c8c0e29d6f504ea1983ff9e5e1bf3f892847fa391347fa944c0bca43aa25d9452b0b66f3e9c2a15e27604f301e24c4fbe", + "stats": { + "@id": "#b2e090cb-74c0-450a-a120-b6cf2322cd57" + }, "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/WT_REP1.markdup.sorted.bam" }, @@ -43558,6 +43602,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/salmon.merged.gene_counts_scaled.tsv" }, + { + "@id": "#1d3b9ae9-e1e5-408d-8d3c-9bd854a788d5", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.7400081566068516, + "duplicateReads": 36290, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 49040, + "totalReads": 49040, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam", "@type": [ @@ -43574,6 +43634,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "84f09d7013d1d42c1aed472a017e979c82ba191fff6d1d683bc53a9316f58b37b275cb57aa820c0c3744245b87208680019b454ab6e35669fa667e92b93e4ef0", + "stats": { + "@id": "#1d3b9ae9-e1e5-408d-8d3c-9bd854a788d5" + }, "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/RAP1_UNINDUCED_REP1.markdup.sorted.bam" }, @@ -43709,6 +43772,22 @@ "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/salmon.merged.gene_counts_length_scaled.rds" }, + { + "@id": "#d112f6d2-6797-4ca5-9e77-14627e0f1fb6", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.12314565070802427, + "duplicateReads": 11688, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94912, + "totalReads": 94912, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam", "@type": [ @@ -43725,9 +43804,28 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "35069423b2c059f0a125f6774da5ec3b9aa391a51fae8dfb38a5f09fde56c48f3134983bc3b424bb7db7eb3624020eeb31b6edf8672364ca301bc359ea4da4ac", + "stats": { + "@id": "#d112f6d2-6797-4ca5-9e77-14627e0f1fb6" + }, "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/RAP1_IAA_30M_REP1.markdup.sorted.bam" }, + { + "@id": "#3ac7b43f-716a-4ec6-9818-c3f0f081baf7", + "@type": [ + "FileStats" + ], + "duplicateRate": 0.1288405935246084, + "duplicateReads": 12165, + "generatedBy": { + "@id": "#samtools" + }, + "mappedRate": 1.0, + "mappedReads": 94419, + "totalReads": 94419, + "unmappedRate": 0.0, + "unmappedReads": 0 + }, { "@id": "outputs/star_salmon/WT_REP2.markdup.sorted.bam", "@type": [ @@ -43744,6 +43842,9 @@ "gid": 1000, "mode": "-rw-r--r--", "sha512": "064ab3727a72532dbd2c6473f79262fc1b434ad91df05c4991453f78b739ded45f66c26b6021582874dcfeef256ea6ac5b383ab1a48bbbfa9b01b8a288a5ec3c", + "stats": { + "@id": "#3ac7b43f-716a-4ec6-9818-c3f0f081baf7" + }, "uid": 1000, "url": "http://localhost:1122/runs/e2de879b-2525-4de8-a57c-d92e8aa10128/data/outputs/star_salmon/WT_REP2.markdup.sorted.bam" }, diff --git a/tests/example_crate/trimming.json b/tests/example_crate/trimming.json index 1b4b24b..de2acb5 100644 --- a/tests/example_crate/trimming.json +++ b/tests/example_crate/trimming.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:49:28+00:00", + "datePublished": "2022-09-20T14:44:20+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -474,7 +474,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289438720, + "freeDiskSpace": 138360713216, "gid": 0, "inDocker": true, "os": "Linux", diff --git a/tests/example_crate/trimming_mac.json b/tests/example_crate/trimming_mac.json index 00cec05..8cbba50 100644 --- a/tests/example_crate/trimming_mac.json +++ b/tests/example_crate/trimming_mac.json @@ -84,7 +84,7 @@ "author": { "@id": "https://orcid.org/0000-0003-2765-0049" }, - "datePublished": "2022-09-17T16:49:33+00:00", + "datePublished": "2022-09-20T14:44:25+00:00", "description": "RO-Crate of Sapporo's run execution results.", "hasPart": [ { @@ -474,7 +474,7 @@ ], "cpuArchitecture": "x86_64", "cpuCount": 4, - "freeDiskSpace": 138289430528, + "freeDiskSpace": 138360705024, "gid": 0, "inDocker": true, "os": "Linux",