nci-cidc-schemas 0.27.27__tar.gz → 0.28.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nci_cidc_schemas-0.27.27/nci_cidc_schemas.egg-info → nci_cidc_schemas-0.28.0}/PKG-INFO +24 -15
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/README.md +12 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/__init__.py +1 -1
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/json_validation.py +1 -2
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/extra_metadata.py +7 -5
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template.py +1 -1
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0/nci_cidc_schemas.egg-info}/PKG-INFO +24 -15
- nci_cidc_schemas-0.28.0/nci_cidc_schemas.egg-info/requires.txt +11 -0
- nci_cidc_schemas-0.28.0/requirements.txt +11 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/setup.py +1 -1
- nci_cidc_schemas-0.28.0/tests/data/olink/olink_assay_2_NPX.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_core.py +1 -1
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_extra_metadata.py +5 -3
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_merger.py +10 -2
- nci_cidc_schemas-0.27.27/nci_cidc_schemas.egg-info/requires.txt +0 -14
- nci_cidc_schemas-0.27.27/requirements.txt +0 -14
- nci_cidc_schemas-0.27.27/tests/data/olink/olink_assay_2_NPX.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/LICENSE +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/MANIFEST.in +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/cli.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/constants.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/metaschema/strict_meta_schema.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/migrations.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/pipeline_configs/rna_level1_analysis_config.yaml.j2 +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/__init__.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/constants.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/core.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/merger.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/prism/pipelines.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/aliquot.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bam.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bam_bai.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bed.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_bigwig.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_binary.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_csv.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_docx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_clinical_xlsx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_cncf.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_cns.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_csv.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_elisa_xlsx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_fastq_gz.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_fcs.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_file.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_gz.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_h5ad.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_html.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_image.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_jpg.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_json.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_junction.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_log.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_maf.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_mtx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_narrowPeak.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_npx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_ome_tiff.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_out.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_pdf.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_png.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rcc.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rdata.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_rds.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_stats.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tab.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tbi.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_text.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tiff.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_tsv.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_txt.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_vcf.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_vcf_gz.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_xlsx.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_yaml.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_zip.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/atacseq_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/antibody.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/assay_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/available_assays.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/available_ngs_analyses.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/composite_image.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/controls.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/enrichment_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/excluded_samples.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/hande_local_file.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/image.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_entry.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_export.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_input.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging/mif_roi.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/imaging_data.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/local_file.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mapping.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mibi_antibody.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mibi_imaging/mibi_input.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mif_antibody.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mihc_antibody.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/mihc_input.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/multiple_local_files.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/atacseq/atacseq_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/ngs_assay_record.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/fusion.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/microbiome.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/msisensor.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/neoantigen.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rna_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rna_level1_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/rseqc.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/salmon.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/star.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs/rna/trust4.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs_assay_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/ngs_assay_record.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/reads_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/reads_with_index.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/scrnaseq_input.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/scrnaseq_preamble.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/visium_input.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/components/visium_preamble.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/ctdna_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/cytof_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/cytof_assay_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/elisa_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/hande_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/ihc_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mibi_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/microbiome_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mif_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/mihc_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/misc_data.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/nanostring_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/olink_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/rna_assay-v0.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/rna_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/scrnaseq_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/scrnaseq_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/tcr_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/tcr_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/visium_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/visium_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_assay.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/wes_tumor_only_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/clinical_data.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/clinical_trial.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/participant.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/sample.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/shipping_core.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/atacseq_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/cytof_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/rna_level1_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/scrnaseq_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/tcr_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/visium_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/wes_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/analyses/wes_tumor_only_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/atacseq_fastq_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/clinical_data_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/ctdna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/cytof_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/elisa_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/hande_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/ihc_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mibi_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/microbiome_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mif_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/mihc_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/misc_data_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/nanostring_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/olink_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/rna_bam_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/rna_fastq_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/scrnaseq_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/tcr_adaptive_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/tcr_fastq_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/visium_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/wes_bam_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/assays/wes_fastq_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/h_and_e_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/microbiome_dna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/normal_blood_dna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/normal_tissue_dna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/pbmc_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/plasma_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tissue_slide_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_normal_pairing_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_tissue_dna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/templates/manifests/tumor_tissue_rna_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template_reader.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/template_writer.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/unprism.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/util.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/SOURCES.txt +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/dependency_links.txt +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/entry_points.txt +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/not-zip-safe +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/nci_cidc_schemas.egg-info/top_level.txt +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/setup.cfg +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/__init__.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/conftest.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/constants.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.1.csv +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.1.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.bom.csv +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.csv +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.2.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.3.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinical_test_file.docx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_1.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_1PA_multiWES.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_cytof_with_analysis.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_ihc.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/clinicaltrial_examples/CT_minimal.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/date_examples.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/elisa_test_file.1.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/elisa_test_file.2.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/hande_err_template.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/invalid_olink_assay_1_NPX.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/olink_assay_1_NPX.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/olink/olink_assay_combined.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/pbmc_invalid.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/pbmc_manifest_valid.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/1.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/a.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/b.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/c.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/d1/3.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/d1/d2/2.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/invalid_ref.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/atacseq_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/rna_level1_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/wes_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/schemas/target-templates/wes_tumor_only_analysis_template.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/tiny_invalid_manifest.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/data/tiny_valid_manifest.xlsx +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/__init__.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/__init__.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/analysis_data.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/assay_data.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/manifest_data.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/cidc_test_data/utils.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/schema/test_schema.json +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_cidc_data_model.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_constants.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/prism/test_pipelines.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_artifacts.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_assays.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_clinicaltrial_examples.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_json_validation.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_migrations.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_schemas.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_strict_meta_schema.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template_reader.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_template_writer.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_templates.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_trial_core.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_unprism.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/test_util.py +0 -0
- {nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/tests/utils/test_template_generator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nci_cidc_schemas
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.0
|
|
4
4
|
Summary: The CIDC data model and tools for working with it.
|
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-schemas
|
|
6
6
|
Author: NCI
|
|
@@ -12,23 +12,20 @@ Classifier: Intended Audience :: Developers
|
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Natural Language :: English
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.13,<3.14
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist:
|
|
21
|
-
Requires-Dist:
|
|
22
|
-
Requires-Dist: jsonschema==3.0.1
|
|
23
|
-
Requires-Dist: openpyxl==3.0.7
|
|
18
|
+
Requires-Dist: argparse==1.4.0
|
|
19
|
+
Requires-Dist: dateparser==1.2.2
|
|
20
|
+
Requires-Dist: deepdiff==4.3.0
|
|
21
|
+
Requires-Dist: jinja2==3.1.6
|
|
24
22
|
Requires-Dist: jsonmerge==1.6.1
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist:
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist:
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist: regex==2022.3.2
|
|
23
|
+
Requires-Dist: jsonpointer==3.0.0
|
|
24
|
+
Requires-Dist: jsonschema==3.2.0
|
|
25
|
+
Requires-Dist: openpyxl==3.1.5
|
|
26
|
+
Requires-Dist: pandas==2.3.1
|
|
27
|
+
Requires-Dist: pyyaml==6.0.2
|
|
28
|
+
Requires-Dist: xlsxwriter==3.2.5
|
|
32
29
|
Dynamic: author
|
|
33
30
|
Dynamic: author-email
|
|
34
31
|
Dynamic: classifier
|
|
@@ -130,6 +127,18 @@ If you're making changes to the module and want those changes to be reflected in
|
|
|
130
127
|
python3 -m cidc_schemas.cli [args]
|
|
131
128
|
```
|
|
132
129
|
|
|
130
|
+
### Creating a new assay or analysis type ###
|
|
131
|
+
|
|
132
|
+
In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
|
|
133
|
+
|
|
134
|
+
Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
|
|
135
|
+
particular assay and/or analysis schema.
|
|
136
|
+
|
|
137
|
+
There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
|
|
138
|
+
practical advice.
|
|
139
|
+
|
|
140
|
+
Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
|
|
141
|
+
|
|
133
142
|
### Generate templates
|
|
134
143
|
|
|
135
144
|
Create a template for a given template configuration.
|
|
@@ -86,6 +86,18 @@ If you're making changes to the module and want those changes to be reflected in
|
|
|
86
86
|
python3 -m cidc_schemas.cli [args]
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
+
### Creating a new assay or analysis type ###
|
|
90
|
+
|
|
91
|
+
In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
|
|
92
|
+
|
|
93
|
+
Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
|
|
94
|
+
particular assay and/or analysis schema.
|
|
95
|
+
|
|
96
|
+
There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
|
|
97
|
+
practical advice.
|
|
98
|
+
|
|
99
|
+
Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
|
|
100
|
+
|
|
89
101
|
### Generate templates
|
|
90
102
|
|
|
91
103
|
Create a template for a given template configuration.
|
|
@@ -273,8 +273,7 @@ def _map_refs(node: dict, on_refs: Callable[[str], dict]) -> dict:
|
|
|
273
273
|
# So we raise on that, to notify schema creator that s/he should not
|
|
274
274
|
# expect those additional keys to be verified by schema validator.
|
|
275
275
|
raise Exception(
|
|
276
|
-
f"Schema node with '$ref' should not contain anything else besides 'description' for public docs (or '$comment' for dev docs). \
|
|
277
|
-
\nOn: {node} \nOffending keys {extra_keys}"
|
|
276
|
+
f"Schema node with '$ref' should not contain anything else besides 'description' for public docs (or '$comment' for dev docs). \nOn: {node} \nOffending keys {extra_keys}"
|
|
278
277
|
)
|
|
279
278
|
|
|
280
279
|
# We found a ref, so return it mapped through `on_refs`
|
|
@@ -98,7 +98,7 @@ def parse_npx(xlsx: BinaryIO) -> dict:
|
|
|
98
98
|
|
|
99
99
|
# simplify.
|
|
100
100
|
worksheet = workbook[worksheet_name]
|
|
101
|
-
|
|
101
|
+
seen_id_column = False
|
|
102
102
|
for i, row in enumerate(worksheet.iter_rows()):
|
|
103
103
|
|
|
104
104
|
# extract values from row
|
|
@@ -110,8 +110,8 @@ def parse_npx(xlsx: BinaryIO) -> dict:
|
|
|
110
110
|
if len(vals) == 0 or first_cell is None:
|
|
111
111
|
continue
|
|
112
112
|
|
|
113
|
-
# find
|
|
114
|
-
if not
|
|
113
|
+
# find Cimac ID column to locate the first data row
|
|
114
|
+
if not seen_id_column:
|
|
115
115
|
# check that this is actually an NPX file
|
|
116
116
|
if i == 1 and first_cell != "NPX data":
|
|
117
117
|
raise ValueError("parse_npx got a file that is not in NPX format")
|
|
@@ -119,8 +119,10 @@ def parse_npx(xlsx: BinaryIO) -> dict:
|
|
|
119
119
|
# check if we are starting ids
|
|
120
120
|
# use this to capture cases where the column name changes in spacing / capitalization
|
|
121
121
|
## needed because some data has 'OlinkID' while the standard seems to call for 'Olink ID'
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
# Data is starting to come in with 'Sample ID' column instead - accepting that too
|
|
123
|
+
lower_first_cell = str(first_cell).lower().replace(" ", "")
|
|
124
|
+
if lower_first_cell in ["olinkid", "sampleid"]:
|
|
125
|
+
seen_id_column = True
|
|
124
126
|
continue
|
|
125
127
|
|
|
126
128
|
# once it's found keep getting ids until we're done
|
|
@@ -25,7 +25,7 @@ from .constants import ANALYSIS_TEMPLATE_DIR, SCHEMA_DIR, TEMPLATE_DIR
|
|
|
25
25
|
from .json_validation import _load_dont_validate_schema
|
|
26
26
|
from .util import get_file_ext, get_logger
|
|
27
27
|
|
|
28
|
-
from
|
|
28
|
+
from .ngs_pipeline_api import OUTPUT_APIS
|
|
29
29
|
|
|
30
30
|
logger = get_logger("cidc_schemas.template")
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nci_cidc_schemas
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.0
|
|
4
4
|
Summary: The CIDC data model and tools for working with it.
|
|
5
5
|
Home-page: https://github.com/NCI-CIDC/cidc-schemas
|
|
6
6
|
Author: NCI
|
|
@@ -12,23 +12,20 @@ Classifier: Intended Audience :: Developers
|
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Natural Language :: English
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
-
Requires-Python: >=3.
|
|
15
|
+
Requires-Python: >=3.13,<3.14
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist:
|
|
21
|
-
Requires-Dist:
|
|
22
|
-
Requires-Dist: jsonschema==3.0.1
|
|
23
|
-
Requires-Dist: openpyxl==3.0.7
|
|
18
|
+
Requires-Dist: argparse==1.4.0
|
|
19
|
+
Requires-Dist: dateparser==1.2.2
|
|
20
|
+
Requires-Dist: deepdiff==4.3.0
|
|
21
|
+
Requires-Dist: jinja2==3.1.6
|
|
24
22
|
Requires-Dist: jsonmerge==1.6.1
|
|
25
|
-
Requires-Dist:
|
|
26
|
-
Requires-Dist:
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Requires-Dist:
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist: regex==2022.3.2
|
|
23
|
+
Requires-Dist: jsonpointer==3.0.0
|
|
24
|
+
Requires-Dist: jsonschema==3.2.0
|
|
25
|
+
Requires-Dist: openpyxl==3.1.5
|
|
26
|
+
Requires-Dist: pandas==2.3.1
|
|
27
|
+
Requires-Dist: pyyaml==6.0.2
|
|
28
|
+
Requires-Dist: xlsxwriter==3.2.5
|
|
32
29
|
Dynamic: author
|
|
33
30
|
Dynamic: author-email
|
|
34
31
|
Dynamic: classifier
|
|
@@ -130,6 +127,18 @@ If you're making changes to the module and want those changes to be reflected in
|
|
|
130
127
|
python3 -m cidc_schemas.cli [args]
|
|
131
128
|
```
|
|
132
129
|
|
|
130
|
+
### Creating a new assay or analysis type ###
|
|
131
|
+
|
|
132
|
+
In order to create a new assay type, your best bet is to just search for an existing assay and copy it.
|
|
133
|
+
|
|
134
|
+
Preferably, look at visium and copy exactly what it does. Make changes in the assay schema and template for your
|
|
135
|
+
particular assay and/or analysis schema.
|
|
136
|
+
|
|
137
|
+
There are a lot of gotchas and hidden parsing going on behind the scenes. Listing them all would be hard, so this is the best
|
|
138
|
+
practical advice.
|
|
139
|
+
|
|
140
|
+
Be sure to regenerate the docs after creating your schema, so the new schema is added to the reference docs.
|
|
141
|
+
|
|
133
142
|
### Generate templates
|
|
134
143
|
|
|
135
144
|
Create a template for a given template configuration.
|
|
@@ -24,7 +24,7 @@ setup(
|
|
|
24
24
|
"Programming Language :: Python :: 3.9",
|
|
25
25
|
],
|
|
26
26
|
description="The CIDC data model and tools for working with it.",
|
|
27
|
-
python_requires=">=3.
|
|
27
|
+
python_requires=">=3.13,<3.14",
|
|
28
28
|
install_requires=requirements,
|
|
29
29
|
license="MIT license",
|
|
30
30
|
long_description=readme,
|
|
Binary file
|
|
@@ -6,8 +6,9 @@ from cidc_schemas.prism.extra_metadata import parse_elisa, parse_npx, parse_clin
|
|
|
6
6
|
|
|
7
7
|
from ..constants import TEST_DATA_DIR
|
|
8
8
|
|
|
9
|
-
#
|
|
10
|
-
|
|
9
|
+
# NPX files in differing acceptable formats and metadata
|
|
10
|
+
npx_file_path_olink = os.path.join(TEST_DATA_DIR, "olink", "olink_assay_1_NPX.xlsx")
|
|
11
|
+
npx_file_path_sample = os.path.join(TEST_DATA_DIR, "olink", "olink_assay_2_NPX.xlsx")
|
|
11
12
|
single_npx_metadata = {
|
|
12
13
|
"number_of_samples": 4,
|
|
13
14
|
"samples": ["CTTTP01A1.00", "CTTTP02A1.00", "CTTTP03A1.00", "CTTTP04A1.00"],
|
|
@@ -88,7 +89,8 @@ def test_parse_binaryio_only(parser):
|
|
|
88
89
|
@pytest.mark.parametrize(
|
|
89
90
|
"parser,file_path,target",
|
|
90
91
|
[
|
|
91
|
-
(parse_npx,
|
|
92
|
+
(parse_npx, npx_file_path_olink, single_npx_metadata),
|
|
93
|
+
(parse_npx, npx_file_path_sample, single_npx_metadata),
|
|
92
94
|
(parse_npx, npx_combined_file_path, combined_npx_metadata),
|
|
93
95
|
# differ in column order and capitalization/spacing of cimac_id column
|
|
94
96
|
# testing both to prevent unnecessary assumptions in formatting as this is hand generated
|
|
@@ -12,7 +12,8 @@ from cidc_schemas.prism.core import LocalFileUploadEntry
|
|
|
12
12
|
from cidc_schemas.prism.constants import PROTOCOL_ID_FIELD_NAME
|
|
13
13
|
|
|
14
14
|
from .test_extra_metadata import (
|
|
15
|
-
|
|
15
|
+
npx_file_path_olink,
|
|
16
|
+
npx_file_path_sample,
|
|
16
17
|
npx_combined_file_path,
|
|
17
18
|
invalid_npx_file_path,
|
|
18
19
|
elisa_file_path_1,
|
|
@@ -381,7 +382,14 @@ def olink_ct_metadata():
|
|
|
381
382
|
def olink_file_infos():
|
|
382
383
|
return [
|
|
383
384
|
LocalFileUploadEntry(
|
|
384
|
-
local_path=
|
|
385
|
+
local_path=npx_file_path_olink,
|
|
386
|
+
gs_key="",
|
|
387
|
+
upload_placeholder="npx_1",
|
|
388
|
+
metadata_availability=True,
|
|
389
|
+
allow_empty=False,
|
|
390
|
+
),
|
|
391
|
+
LocalFileUploadEntry(
|
|
392
|
+
local_path=npx_file_path_sample,
|
|
385
393
|
gs_key="",
|
|
386
394
|
upload_placeholder="npx_1",
|
|
387
395
|
metadata_availability=True,
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
dateparser==1.1.4
|
|
2
|
-
xlsxwriter==1.1.6
|
|
3
|
-
argparse==1.1
|
|
4
|
-
pyyaml==6.0.1
|
|
5
|
-
jsonschema==3.0.1
|
|
6
|
-
openpyxl==3.0.7
|
|
7
|
-
jsonmerge==1.6.1
|
|
8
|
-
deepdiff~=4.3.0
|
|
9
|
-
jsonpointer==2.0
|
|
10
|
-
pandas==1.5.3
|
|
11
|
-
jinja2~=3.1.3
|
|
12
|
-
nci-cidc-ngs-pipeline-api==0.1.25
|
|
13
|
-
markupsafe==2.1.5
|
|
14
|
-
regex==2022.3.2
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
dateparser==1.1.4
|
|
2
|
-
xlsxwriter==1.1.6
|
|
3
|
-
argparse==1.1
|
|
4
|
-
pyyaml==6.0.1
|
|
5
|
-
jsonschema==3.0.1
|
|
6
|
-
openpyxl==3.0.7
|
|
7
|
-
jsonmerge==1.6.1
|
|
8
|
-
deepdiff~=4.3.0
|
|
9
|
-
jsonpointer==2.0
|
|
10
|
-
pandas==1.5.3
|
|
11
|
-
jinja2~=3.1.3
|
|
12
|
-
nci-cidc-ngs-pipeline-api==0.1.25
|
|
13
|
-
markupsafe==2.1.5
|
|
14
|
-
regex==2022.3.2
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/metaschema/strict_meta_schema.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/artifacts/artifact_gz.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/atacseq_assay.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/ctdna_assay.json
RENAMED
|
File without changes
|
{nci_cidc_schemas-0.27.27 → nci_cidc_schemas-0.28.0}/cidc_schemas/schemas/assays/cytof_assay.json
RENAMED
|
File without changes
|