ensembl-genomio 1.2.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.
- ensembl_genomio-1.2.0/.github/actions/python_build/action.yml +40 -0
- ensembl_genomio-1.2.0/.github/dependabot.yml +25 -0
- ensembl_genomio-1.2.0/.github/workflows/publish.yml +70 -0
- ensembl_genomio-1.2.0/.gitignore +9 -0
- ensembl_genomio-1.2.0/LICENSE +201 -0
- ensembl_genomio-1.2.0/MANIFEST.in +1 -0
- ensembl_genomio-1.2.0/NOTICE +7 -0
- ensembl_genomio-1.2.0/PKG-INFO +231 -0
- ensembl_genomio-1.2.0/README.md +167 -0
- ensembl_genomio-1.2.0/cicd/gitlab/dot.gitlab-ci.yml +70 -0
- ensembl_genomio-1.2.0/cicd/gitlab/parts/debug.gitlab-ci.yml +35 -0
- ensembl_genomio-1.2.0/cicd/gitlab/parts/flatfile.gitlab-ci.yml +63 -0
- ensembl_genomio-1.2.0/cicd/gitlab/parts/license.gitlab-ci.yml +35 -0
- ensembl_genomio-1.2.0/cicd/gitlab/parts/perl.gitlab-ci.yml +38 -0
- ensembl_genomio-1.2.0/cicd/gitlab/parts/python.gitlab-ci.yml +143 -0
- ensembl_genomio-1.2.0/cicd/runtime/.gitignore +4 -0
- ensembl_genomio-1.2.0/cicd/scripts/check_flatfile.py +93 -0
- ensembl_genomio-1.2.0/cicd/scripts/check_license.py +130 -0
- ensembl_genomio-1.2.0/cicd/templates/license_header.tpl +14 -0
- ensembl_genomio-1.2.0/cicd/templates/notice.tpl +7 -0
- ensembl_genomio-1.2.0/config/external_db_map/default.txt +240 -0
- ensembl_genomio-1.2.0/config/external_db_map/minimal.txt +33 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/brc4.patch +5 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/cds_with_parent_id.patch +5 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/cncb_hgdc.conf +34 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/flybase.conf +89 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/ids2display.conf +9 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/mgnify_prodig.conf +86 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/noxref.patch +5 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/old_refseq_brc4.conf +92 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/regions_no_syns.patch +7 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser/xref2gene.patch +8 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/metaparser.conf +126 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/valid_structures/test_pre_mirna.conf +6 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/valid_structures/test_sub.conf +30 -0
- ensembl_genomio-1.2.0/config/gff_metaparser/valid_structures.conf +225 -0
- ensembl_genomio-1.2.0/conftest.py +17 -0
- ensembl_genomio-1.2.0/containers/ncbi_datasets_lite.recipe.def +46 -0
- ensembl_genomio-1.2.0/containers/ncbi_datasets_v16.10.0.def +65 -0
- ensembl_genomio-1.2.0/data/test/circular_transspliced_feature/mt.fna +2 -0
- ensembl_genomio-1.2.0/data/test/circular_transspliced_feature/pep.faa +10 -0
- ensembl_genomio-1.2.0/data/test/circular_transspliced_feature/seq_region.json +21 -0
- ensembl_genomio-1.2.0/data/test/circular_transspliced_feature/tidy.gff3 +48 -0
- ensembl_genomio-1.2.0/data/test/exon_cds_duplicated_ids_test.gff3 +18 -0
- ensembl_genomio-1.2.0/data/test/gene_cds_test.gff3 +2 -0
- ensembl_genomio-1.2.0/data/test/modules/download_asm_data/output/GCA_017607445.1_ASM1760744v1_assembly_report.txt +33 -0
- ensembl_genomio-1.2.0/data/test/modules/download_asm_data/output/GCA_017607445.1_ASM1760744v1_genomic.fna.gz +0 -0
- ensembl_genomio-1.2.0/data/test/modules/download_asm_data/output/GCA_017607445.1_ASM1760744v1_genomic.gbff.gz +0 -0
- ensembl_genomio-1.2.0/data/test/modules/download_asm_data/output/GCA_017607445.1_ASM1760744v1_genomic.gff.gz +0 -0
- ensembl_genomio-1.2.0/data/test/modules/download_asm_data/output/GCA_017607445.1_ASM1760744v1_protein.faa.gz +0 -0
- ensembl_genomio-1.2.0/data/test/modules/download_genbank/output/output.gb +68 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/db_factory_dbs.json +1 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/downloaded_ncbi_stats.json +124 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_core_stats.json +43 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_dna.fasta +2 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_genome.json +15 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_ids_events.tab +0 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_pep.fasta +2 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_files/dumped_seq_region.json +1 -0
- ensembl_genomio-1.2.0/data/test/pipelines/dumper/dump_sql/dumped_db.sql.test +1 -0
- ensembl_genomio-1.2.0/data/test/pipelines/genome_prepare/input_dir_brc_off/gen_prep_in_meta.json +7 -0
- ensembl_genomio-1.2.0/data/test/pipelines/genome_prepare/input_dir_brc_on/gen_prep_in_meta.json +11 -0
- ensembl_genomio-1.2.0/data/test/pre_mirna_test.gff3 +14 -0
- ensembl_genomio-1.2.0/data/test/sub_rule_test.gff3 +12 -0
- ensembl_genomio-1.2.0/docs/BRC4_genome_compare_conf.md +66 -0
- ensembl_genomio-1.2.0/docs/BRC4_genome_loader.md +72 -0
- ensembl_genomio-1.2.0/docs/cicd_gitlab.md +58 -0
- ensembl_genomio-1.2.0/docs/code_of_conduct.md +8 -0
- ensembl_genomio-1.2.0/docs/genome_prepare.md +45 -0
- ensembl_genomio-1.2.0/docs/img/ensembl-logo.png +0 -0
- ensembl_genomio-1.2.0/docs/index.md +33 -0
- ensembl_genomio-1.2.0/docs/install.md +30 -0
- ensembl_genomio-1.2.0/docs/nextflow.md +103 -0
- ensembl_genomio-1.2.0/docs/pipelines.md +47 -0
- ensembl_genomio-1.2.0/docs/scripts/gen_ref_pages.py +49 -0
- ensembl_genomio-1.2.0/docs/stylesheets/extra.css +11 -0
- ensembl_genomio-1.2.0/docs/trf_split_run.md +61 -0
- ensembl_genomio-1.2.0/docs/usage.md +14 -0
- ensembl_genomio-1.2.0/mkdocs.yml +76 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/README.md +54 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/log_template.md +12 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/database/db_factory.nf +61 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/database/dump_db.nf +52 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/download/download_asm_data.nf +47 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/download/download_genbank.nf +39 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/events/dump_events.nf +48 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/fasta/dump_fasta_dna.nf +49 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/fasta/dump_fasta_peptides.nf +49 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/fasta/process_fasta_data.nf +37 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/files/publish_output.nf +34 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/files/publish_output_dump.nf +33 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genbank/extract_from_gb.nf +41 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/accession_metadata.nf +30 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/amend_genome_data.nf +37 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/datasets_metadata.nf +43 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/dump_genome_meta.nf +50 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/dump_ncbi_stats.nf +66 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_metadata/prepare_genome_metadata.nf +31 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_stats/compare_genome_stats.nf +32 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/genome_stats/dump_genome_stats.nf +45 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/gff3/gff3_validation.nf +35 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/gff3/process_gff3.nf +38 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/gff3/unpack_gff3.nf +30 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/manifest/integrity.nf +43 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/manifest/manifest_maker.nf +31 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/manifest/manifest_stats.nf +36 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/allocate_ids.nf +55 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/canonical_transcripts.nf +47 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/check_osid.nf +44 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/check_patch.nf +82 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/extract_gene_lists.nf +33 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/finalize_versions.nf +44 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/format_events.nf +39 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/load_events.nf +35 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/publish_files.nf +31 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/transfer_ids.nf +42 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/patch_build/transfer_metadata.nf +41 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/schema/check_json_schema.nf +31 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/schema/check_json_schema_db.nf +32 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/schema/json_schema_factory.nf +31 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/seq_region/dump_seq_regions.nf +49 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/seq_region/process_seq_region.nf +56 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/modules/utils/utils.nf +82 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/additional_seq_prepare/main.nf +78 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/additional_seq_prepare/meta.yml +96 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/dump_files/main.nf +97 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/dump_sql/main.nf +27 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/genome_prepare/main.nf +106 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/genome_prepare/meta.yml +92 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/patch_build_post_process/main.nf +89 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/patch_build_post_process/meta.yml +71 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/subworkflows/yaml-schema.json +114 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/template_meta.yml +50 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/nextflow_test.config +77 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/test_addition_prepare.yml +45 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/test_dumper_files.yml +42 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/test_dumper_sql.yml +35 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/test_genome_prepare.yml +51 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/tests/workflows/test_genome_prepare_brc.yml +50 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/additional_seq_prepare/main.nf +43 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/additional_seq_prepare/nextflow.config +26 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/additional_seq_prepare/nextflow_schema.json +88 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/dumper_pipeline/README.md +43 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/dumper_pipeline/main.nf +132 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/dumper_pipeline/nextflow.config +36 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/dumper_pipeline/nextflow_schema.json +140 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/genome_prepare/main.nf +81 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/genome_prepare/nextflow.config +25 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/genome_prepare/nextflow_schema.json +94 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/nextflow.config +127 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/patch_build/main.nf +135 -0
- ensembl_genomio-1.2.0/pipelines/nextflow/workflows/patch_build/nextflow.config +29 -0
- ensembl_genomio-1.2.0/pyproject.toml +226 -0
- ensembl_genomio-1.2.0/scripts/README.md +7 -0
- ensembl_genomio-1.2.0/scripts/brc4/check_descriptions.pl +349 -0
- ensembl_genomio-1.2.0/scripts/brc4/manifest_diff.pl +734 -0
- ensembl_genomio-1.2.0/scripts/brc4/patch_build/allocate_stable_ids.pl +597 -0
- ensembl_genomio-1.2.0/scripts/brc4/patch_build/osid_add_organisms.py +134 -0
- ensembl_genomio-1.2.0/scripts/brc4/patch_build/osid_check_organisms.py +81 -0
- ensembl_genomio-1.2.0/scripts/brc4/patch_build/transfer_ids.pl +314 -0
- ensembl_genomio-1.2.0/scripts/brc4/patch_build/transfer_metadata.pl +403 -0
- ensembl_genomio-1.2.0/scripts/chunk_fasta.py +222 -0
- ensembl_genomio-1.2.0/scripts/get_dna_fasta_for.pl +106 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gen_meta_conf.py +240 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/genmetaconf/__init__.py +14 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/genmetaconf/manifest.py +93 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/genmetaconf/metaconf.py +389 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/genmetaconf/seqregionconf.py +434 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gff3_meta_parse.py +160 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gff_stats.py +163 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/__init__.py +14 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/basekeeper.py +26 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/basestruct.py +186 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/fannkeeper.py +130 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/gff3walker.py +202 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/metaparserstruct.py +35 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/prefixtree.py +43 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/__init__.py +33 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/alias.py +80 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/base.py +164 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/fix.py +168 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/fix_action.py +415 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/gff.py +229 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/ignore.py +27 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/json.py +321 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/unseen.py +29 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/rules/valid.py +88 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/seqfeatcomposer.py +181 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/statskeeper.py +101 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/utils.py +145 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/validstruct.py +35 -0
- ensembl_genomio-1.2.0/scripts/gff_metaparser/gffstruct/walkcontext.py +154 -0
- ensembl_genomio-1.2.0/scripts/load_fann.pl +504 -0
- ensembl_genomio-1.2.0/scripts/trf_split_run.bash +146 -0
- ensembl_genomio-1.2.0/scripts/utils/gff-overlaps.py +183 -0
- ensembl_genomio-1.2.0/setup.cfg +4 -0
- ensembl_genomio-1.2.0/setup.py +20 -0
- ensembl_genomio-1.2.0/src/containers/example.Dockerfile +2 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/BRC4_base_conf.pm +58 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/BRC4_genome_compare_conf.pm +256 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/BRC4_genome_loader_conf.pm +1007 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/LoadGFF3Batch_conf.pm +124 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/LoadGFF3_conf.pm +515 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/README.md +24 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/gff3.ignore +44 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/DbUrlToParams.pm +84 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/DumpFastaDNA.pm +98 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/DumpJsonBase.pm +94 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/DumpSeqRegionJson.pm +271 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/GetMetaValue.pm +48 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/BRC4/ServerFromRegistry.pm +63 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/AddSynonyms.pm +131 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/AnalysisSetup.pm +194 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/ApplySeqEdits.pm +378 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/Base.pm +238 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/ConstructFilenames.pm +74 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/DeleteGenes.pm +55 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/EmailReport.pm +85 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/FixModels.pm +216 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/LoadGFF3.pm +1428 -0
- ensembl_genomio-1.2.0/src/perl/Bio/EnsEMBL/Pipeline/Runnable/EG/LoadGFF3/ReportSeqEdits.pm +335 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/__init__.py +14 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/__init__.py +14 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/compare_fasta.py +460 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/compare_report.py +71 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/fill_metadata.py +142 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/json_schema_factory.py +52 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/load_sequence_data.py +1671 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/prepare_genome.py +276 -0
- ensembl_genomio-1.2.0/src/python/ensembl/brc4/runnable/seqregion_parser.py +174 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/__init__.py +17 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/annotation/__init__.py +17 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/annotation/load.py +265 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/assembly/__init__.py +18 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/assembly/download.py +340 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/assembly/status.py +475 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/__init__.py +15 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/gff3/__init__.py +15 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/gff3/biotypes.json +81 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/__init__.py +15 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/functional_annotation.json +100 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/genome.json +143 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/manifest.json +50 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/seq_attrib.json +154 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/data/schemas/seq_region.json +144 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/database/__init__.py +19 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/database/core_server.py +85 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/database/dbconnection_lite.py +82 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/database/factory.py +155 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/events/__init__.py +19 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/events/dump.py +556 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/events/format.py +96 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/events/load.py +256 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/fasta/__init__.py +17 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/fasta/process.py +111 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genbank/__init__.py +18 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genbank/download.py +81 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genbank/extract_data.py +536 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_metadata/__init__.py +19 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_metadata/dump.py +206 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_metadata/extend.py +175 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_metadata/prepare.py +208 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_stats/__init__.py +18 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_stats/compare.py +232 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/genome_stats/dump.py +155 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/__init__.py +21 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/exceptions.py +42 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/extract_annotation.py +329 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/features.py +48 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/gene_merger.py +132 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/id_allocator.py +212 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/process.py +78 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/restructure.py +287 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/gff3/simplifier.py +558 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/manifest/__init__.py +19 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/manifest/check_integrity.py +797 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/manifest/compute_stats.py +433 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/manifest/generate.py +120 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/schemas/__init__.py +15 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/schemas/json/__init__.py +18 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/schemas/json/factory.py +83 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/schemas/json/validate.py +82 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/seq_region/__init__.py +19 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/seq_region/dump.py +321 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/seq_region/prepare.py +525 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/seq_region/rename.py +218 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/utils/__init__.py +17 -0
- ensembl_genomio-1.2.0/src/python/ensembl/io/genomio/utils/json_utils.py +47 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/PKG-INFO +231 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/SOURCES.txt +437 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/dependency_links.txt +1 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/entry_points.txt +26 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/requires.txt +40 -0
- ensembl_genomio-1.2.0/src/python/ensembl_genomio.egg-info/top_level.txt +2 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/GCA_017607445.1_ASM1760744v1_assembly_report.txt +43 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/GCA_017607445.1_ASM1760744v1_genomic.fna.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/GCA_017607445.1_ASM1760744v1_genomic.gbff.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/GCA_017607445.1_ASM1760744v1_genomic.gff.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/GCA_017607445.1_ASM1760744v1_protein.faa.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/annotation_hashes.txt +2 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/malformed_md5_checksums.txt +2 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/md5checksums.txt +23 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/md5checksums_ftp_source.txt +23 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/missingfile_md5.txt +1 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/test_ftp_file.txt +1 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download/wrong_md5_checksums.txt +2 -0
- ensembl_genomio-1.2.0/src/python/tests/assembly/test_download.py +445 -0
- ensembl_genomio-1.2.0/src/python/tests/conftest.py +55 -0
- ensembl_genomio-1.2.0/src/python/tests/database/test_core_server.py +116 -0
- ensembl_genomio-1.2.0/src/python/tests/database/test_dbconnection_lite.py +90 -0
- ensembl_genomio-1.2.0/src/python/tests/database/test_factory/databases.txt +2 -0
- ensembl_genomio-1.2.0/src/python/tests/database/test_factory.py +198 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/input.fna.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/input.gbff.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/input.mod.gbff.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/input.protein.fa.gz +0 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/output.nuc.fna +673 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process/output.protein.fa +193 -0
- ensembl_genomio-1.2.0/src/python/tests/fasta/test_process.py +134 -0
- ensembl_genomio-1.2.0/src/python/tests/genbank/test_download.py +88 -0
- ensembl_genomio-1.2.0/src/python/tests/genbank/test_extract_data/input_file.gb +59 -0
- ensembl_genomio-1.2.0/src/python/tests/genbank/test_extract_data.py +254 -0
- ensembl_genomio-1.2.0/src/python/tests/genbank/test_extract_data_seq.py +252 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_dump.py +194 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend/assembly_report.txt +8 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend/genome.json +20 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend/no_metadata_report.txt +1 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend/sequences.gbff +116 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend/updated_genome.json +27 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_extend.py +182 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/cncb_genome.json +5 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/genbank_genome.json +5 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/genome_accession.json +5 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/genome_accession_ncbi.json +19 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/genome_accession_updated.json +17 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/ncbi_meta.json +28 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/refseq_genome.json +8 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/updated_genome.json +19 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare/updated_genome_ncbi.json +19 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_metadata/test_prepare.py +235 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/core_annotated.json +21 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/core_unannotated.json +8 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/ncbi_annotated.json +26 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/ncbi_unannotated.json +12 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/output_annotated.json +8 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare/output_unannotated.json +7 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_compare.py +165 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_dump/genome_stats.json +19 -0
- ensembl_genomio-1.2.0/src/python/tests/genome_stats/test_dump.py +242 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_extract_annotation/dump_description.json +17 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_extract_annotation/dump_noinfo.json +14 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_extract_annotation/dump_syn.json +18 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_extract_annotation.py +476 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_fasta_in.gff3 +8 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_fasta_out.gff3 +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_gene_only_in.gff3 +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_gene_only_out.gff3 +2 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_split_in.gff3 +7 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_split_out.gff3 +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_unordered_in.gff3 +7 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger/merge_unordered_out.gff3 +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_gene_merger.py +56 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_GeneID.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_GeneID2.gff3 +10 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_bad.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_makeid.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_noGeneID.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/geneid_ok.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_01.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_02_in.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_02_out.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_03_in.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_03_out.gff3 +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator/pseudo_04.gff3 +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_id_allocator.py +265 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_records/invalid.gff +2 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_records/record_n1.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_records/record_n2.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_records.py +69 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_restructure.py +361 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/bad_gene_type.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/bad_gene_type_skipped.gff +2 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/bad_subtr_type.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/bad_tr_type.gff +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/clean/extra.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/clean/extra_clean.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/gene_ignored.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/gene_unsupported.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/genes_badnames.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/genes_badnames_brc4name.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/genes_badnames_noname.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/genome_brc4.json +20 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/genome_no_brc4.json +16 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/cds.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/cds_pseudo.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/cds_pseudo_simped.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/cds_simped.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/mrna.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/mrna_pseudo.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/mrna_pseudo_simped.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/mrna_simped.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/rrna.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/rrna_simped.gff +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/transcript.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/transcript_simped.gff +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/trna.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/lone/trna_simped.gff +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/gene.gff +7 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/gene_simped.gff +8 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/nogene.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/nogene_simped.gff +8 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/pseudo_nogene.gff +4 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/pseudo_nogene_simped.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/pseudogene.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/pseudogene_simped.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/two_primary.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mirna/unsupported_tr.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/mobile_te.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/non_gene/mobile_1name.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/non_gene/mobile_1name_simped.gff3 +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/non_gene/mobile_full.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/non_gene/mobile_full_simped.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/non_gene/te.gff +3 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/ok_gene.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/ok_protein_coding_gene.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/ok_tr_ignored.gff +8 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/pseudogene.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/pseudogene_cds.gff +6 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier/pseudogene_cds_removed.gff +5 -0
- ensembl_genomio-1.2.0/src/python/tests/gff3/test_simplifier.py +536 -0
- ensembl_genomio-1.2.0/src/python/tests/manifest/test_check_integrity/functional_annotation.json +18 -0
- ensembl_genomio-1.2.0/src/python/tests/manifest/test_check_integrity/manifest.json +10 -0
- ensembl_genomio-1.2.0/src/python/tests/manifest/test_check_integrity/seq_region.json +36 -0
- ensembl_genomio-1.2.0/src/python/tests/manifest/test_check_integrity.py +78 -0
- ensembl_genomio-1.2.0/src/python/tests/schemas/test_json/functional_annotation.json +18 -0
- ensembl_genomio-1.2.0/src/python/tests/schemas/test_json/functional_annotation_schema.json +100 -0
- ensembl_genomio-1.2.0/src/python/tests/schemas/test_json/manifest.json +12 -0
- ensembl_genomio-1.2.0/src/python/tests/schemas/test_json/seq_region.json +36 -0
- ensembl_genomio-1.2.0/src/python/tests/schemas/test_json.py +89 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# See the NOTICE file distributed with this work for additional information
|
|
2
|
+
# regarding copyright ownership.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
name: python-build
|
|
17
|
+
description: "Common steps to build the Python environment"
|
|
18
|
+
inputs:
|
|
19
|
+
python-version:
|
|
20
|
+
description: "Python version"
|
|
21
|
+
required: true
|
|
22
|
+
default: "3.10"
|
|
23
|
+
tags:
|
|
24
|
+
description: "Optional dependencies (via available tags) to install, e.g. [cicd]"
|
|
25
|
+
required: true
|
|
26
|
+
default: ""
|
|
27
|
+
|
|
28
|
+
runs:
|
|
29
|
+
using: "composite"
|
|
30
|
+
steps:
|
|
31
|
+
- name: Set up Python ${{ inputs.python-version }}
|
|
32
|
+
uses: actions/setup-python@v5
|
|
33
|
+
with:
|
|
34
|
+
python-version: ${{ inputs.python-version }}
|
|
35
|
+
|
|
36
|
+
- name: Install dependencies
|
|
37
|
+
run: |
|
|
38
|
+
python -m pip install --upgrade pip
|
|
39
|
+
pip install -e .${{ inputs.tags }}
|
|
40
|
+
shell: bash
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# See the NOTICE file distributed with this work for additional information
|
|
2
|
+
# regarding copyright ownership.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
16
|
+
# package ecosystems to update and where the package manifests are located.
|
|
17
|
+
# Please see the documentation for all configuration options:
|
|
18
|
+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
19
|
+
|
|
20
|
+
version: 2
|
|
21
|
+
updates:
|
|
22
|
+
- package-ecosystem: "pip"
|
|
23
|
+
directory: "/"
|
|
24
|
+
schedule:
|
|
25
|
+
interval: "monthly"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# See the NOTICE file distributed with this work for additional information
|
|
2
|
+
# regarding copyright ownership.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
name: Upload Python package to PyPI when a release is created
|
|
17
|
+
|
|
18
|
+
on:
|
|
19
|
+
release:
|
|
20
|
+
types: [created]
|
|
21
|
+
|
|
22
|
+
defaults:
|
|
23
|
+
run:
|
|
24
|
+
working-directory: ./
|
|
25
|
+
|
|
26
|
+
env:
|
|
27
|
+
PYTHON_VERSION: "3.10"
|
|
28
|
+
|
|
29
|
+
jobs:
|
|
30
|
+
mkdocs:
|
|
31
|
+
name: Deploy documentation to GitHub Pages
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
permissions:
|
|
34
|
+
contents: write
|
|
35
|
+
|
|
36
|
+
steps:
|
|
37
|
+
- uses: actions/checkout@v4
|
|
38
|
+
|
|
39
|
+
- uses: ./.github/actions/python_build
|
|
40
|
+
with:
|
|
41
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
42
|
+
tags: "[docs]"
|
|
43
|
+
|
|
44
|
+
- name: Run mkdocs
|
|
45
|
+
run: |
|
|
46
|
+
mkdocs gh-deploy --force
|
|
47
|
+
|
|
48
|
+
pypi-publish:
|
|
49
|
+
name: Publish release to PyPI
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
environment:
|
|
52
|
+
name: pypi
|
|
53
|
+
url: https://pypi.org/p/ensembl-genomio
|
|
54
|
+
permissions:
|
|
55
|
+
id-token: write
|
|
56
|
+
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4
|
|
59
|
+
|
|
60
|
+
- uses: ./.github/actions/python_build
|
|
61
|
+
with:
|
|
62
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
63
|
+
tags: "[build]"
|
|
64
|
+
|
|
65
|
+
- name: Build package
|
|
66
|
+
run: |
|
|
67
|
+
python -m build
|
|
68
|
+
|
|
69
|
+
- name: Publish package distributions to PyPI
|
|
70
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
recursive-include src/python/ensembl/io/genomio/data/ *
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Ensembl
|
|
2
|
+
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
|
|
3
|
+
Copyright [2016-2024] EMBL-European Bioinformatics Institute
|
|
4
|
+
|
|
5
|
+
This product includes software developed at:
|
|
6
|
+
- EMBL-European Bioinformatics Institute
|
|
7
|
+
- Wellcome Trust Sanger Institute
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ensembl-genomio
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: Ensembl GenomIO -- pipelines to convert basic genomic data into Ensembl cores and back to flatfile
|
|
5
|
+
Author-email: Ensembl <dev@ensembl.org>
|
|
6
|
+
License: Apache License 2.0
|
|
7
|
+
Project-URL: homepage, https://www.ensembl.org
|
|
8
|
+
Project-URL: repository, https://github.com/Ensembl/ensembl-genomio
|
|
9
|
+
Project-URL: documentation, https://ensembl.github.io/ensembl-genomio
|
|
10
|
+
Keywords: genome_io,ensembl,bioinformatics,annotation,setup
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
License-File: NOTICE
|
|
27
|
+
Requires-Dist: bcbio-gff==0.7.1
|
|
28
|
+
Requires-Dist: biopython>=1.81
|
|
29
|
+
Requires-Dist: ensembl-py>=v2.0.2
|
|
30
|
+
Requires-Dist: ensembl-utils>=0.4.1
|
|
31
|
+
Requires-Dist: jsonschema>=4.6.0
|
|
32
|
+
Requires-Dist: intervaltree>=3.1.0
|
|
33
|
+
Requires-Dist: mysql-connector-python>=8.0.29
|
|
34
|
+
Requires-Dist: python-redmine>=2.3.0
|
|
35
|
+
Requires-Dist: requests>=2.28.0
|
|
36
|
+
Requires-Dist: spython>=0.3.13
|
|
37
|
+
Provides-Extra: build
|
|
38
|
+
Requires-Dist: build; extra == "build"
|
|
39
|
+
Requires-Dist: setuptools; extra == "build"
|
|
40
|
+
Requires-Dist: setuptools-scm; extra == "build"
|
|
41
|
+
Requires-Dist: wheel; extra == "build"
|
|
42
|
+
Provides-Extra: cicd
|
|
43
|
+
Requires-Dist: black>=23.11.0; extra == "cicd"
|
|
44
|
+
Requires-Dist: coverage>=7.3.2; extra == "cicd"
|
|
45
|
+
Requires-Dist: deepdiff>=6.7.1; extra == "cicd"
|
|
46
|
+
Requires-Dist: genbadge[coverage]; extra == "cicd"
|
|
47
|
+
Requires-Dist: mypy>=1.2.0; extra == "cicd"
|
|
48
|
+
Requires-Dist: pylint>=3.0.2; extra == "cicd"
|
|
49
|
+
Requires-Dist: pytest>=7.4.3; extra == "cicd"
|
|
50
|
+
Requires-Dist: pytest-dependency; extra == "cicd"
|
|
51
|
+
Requires-Dist: pytest-mock; extra == "cicd"
|
|
52
|
+
Requires-Dist: pytest-workflow>=2.1.0; extra == "cicd"
|
|
53
|
+
Requires-Dist: types-requests; extra == "cicd"
|
|
54
|
+
Provides-Extra: docs
|
|
55
|
+
Requires-Dist: mkdocs>=1.5.3; extra == "docs"
|
|
56
|
+
Requires-Dist: mkdocs-autorefs; extra == "docs"
|
|
57
|
+
Requires-Dist: mkdocs-gen-files; extra == "docs"
|
|
58
|
+
Requires-Dist: mkdocs-literate-nav; extra == "docs"
|
|
59
|
+
Requires-Dist: mkdocs-material; extra == "docs"
|
|
60
|
+
Requires-Dist: mkdocs-material-extensions; extra == "docs"
|
|
61
|
+
Requires-Dist: mkdocs-section-index; extra == "docs"
|
|
62
|
+
Requires-Dist: mkdocstrings; extra == "docs"
|
|
63
|
+
Requires-Dist: mkdocstrings-python; extra == "docs"
|
|
64
|
+
|
|
65
|
+
# Ensembl GenomIO
|
|
66
|
+
|
|
67
|
+
[](https://github.com/Ensembl/ensembl-genomio/blob/main/LICENSE)
|
|
68
|
+
[](https://vectorbase.gitdocs.ebi.ac.uk/ensembl-genomio/)
|
|
69
|
+
[](https://gitlab.ebi.ac.uk/vectorbase/ensembl-genomio/-/pipelines)
|
|
70
|
+
[](https:pypi.org/project/ensembl-genomio)
|
|
71
|
+
|
|
72
|
+
Pipelines to turn basic genomic data into Ensembl cores and back.
|
|
73
|
+
|
|
74
|
+
This is a multilanguage (Perl, Python) repo providing eHive pipelines and various scripts (see below) to prepare genomic data and load it as [Ensembl core database](http://www.ensembl.org/info/docs/api/core/index.html) or to dump such core databases as file bundles.
|
|
75
|
+
|
|
76
|
+
Bundles themselves consist of genomic data in various formats (e.g. fasta, gff3, json) and should follow the corresponding [specification](docs/BRC4_genome_loader.md#input-data).
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## Installation and configuration
|
|
80
|
+
|
|
81
|
+
This repository is publicly available in [PyPI](https://pypi.org), so it can be easily installed with your preferred Python package manager, e.g.:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
pip install ensembl-genomio
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Prerequisites
|
|
88
|
+
|
|
89
|
+
Pipelines are intended to be run inside the Ensembl production environment. Please, make sure you have all the proper credential, keys, etc. set up.
|
|
90
|
+
|
|
91
|
+
### Get repo and install
|
|
92
|
+
|
|
93
|
+
Clone:
|
|
94
|
+
```
|
|
95
|
+
git clone git@github.com:Ensembl/ensembl-genomio.git
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Install the python part (of the pipelines) and test it:
|
|
99
|
+
```
|
|
100
|
+
pip install ./ensembl-genomio
|
|
101
|
+
# And test it has been installed correctly
|
|
102
|
+
python -c 'import ensembl.io.genomio'
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Update your perl envs (if you need to)
|
|
106
|
+
```
|
|
107
|
+
export PERL5LIB=$(pwd)/ensembl-genomio/src/perl:$PERL5LIB
|
|
108
|
+
export PATH=$(pwd)/ensembl-genomio/scripts:$PATH
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Optional installation
|
|
112
|
+
|
|
113
|
+
If you need to install "editable" Python package use '-e' option
|
|
114
|
+
```
|
|
115
|
+
pip install -e ./ensembl-genomio
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
To install additional dependencies (e.g. `[docs]` or `[cicd]`) provide `[<tag>]` string, e.g.:
|
|
119
|
+
```
|
|
120
|
+
pip install -e ./ensembl-genomio[cicd]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
For the list of tags see `[project.optional-dependencies]` in [pyproject.toml](./pyproject.toml).
|
|
124
|
+
|
|
125
|
+
### Additional steps to use automated generation of the documentation
|
|
126
|
+
|
|
127
|
+
- Install python part with the `[docs]` tag
|
|
128
|
+
- Change into repo dir
|
|
129
|
+
- Run `mkdocs build` command
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
git clone git@github.com:Ensembl/ensembl-genomio.git
|
|
133
|
+
cd ./ensembl-genomio
|
|
134
|
+
pip install -e .[docs]
|
|
135
|
+
mkdocs build
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Nextflow installation
|
|
139
|
+
|
|
140
|
+
Please, refer to the "Installation" section of the [Nextflow pipelines document](docs/nextflow.md#installation).
|
|
141
|
+
|
|
142
|
+
## Pipelines
|
|
143
|
+
|
|
144
|
+
### Initialising and running eHive-based pipelines
|
|
145
|
+
|
|
146
|
+
Pipelines are derived from [`Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf`](https://github.com/Ensembl/ensembl-hive/blob/version/2.6/modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm),
|
|
147
|
+
or from [`Bio::EnsEMBL::Hive::PipeConfig::EnsemblGeneric_conf`](https://github.com/Ensembl/ensembl-hive/blob/version/2.6/modules/Bio/EnsEMBL/Hive/PipeConfig/EnsemblGeneric_conf.pm),
|
|
148
|
+
of from [`Bio::EnsEMBL::EGPipeline::PipeConfig::EGGeneric_conf`](https://github.com/Ensembl/ensembl-production-imported/blob/main/src/perl/Bio/EnsEMBL/EGPipeline/PipeConfig/EGGeneric_conf.pm) (see [documentation](https://github.com/Ensembl/ensembl-production-imported/blob/main/docs/EGGeneric.md)).
|
|
149
|
+
|
|
150
|
+
And the same perl class prefix used for every pipeline:
|
|
151
|
+
`Bio::EnsEMBL::EGPipeline::PipeConfig::` .
|
|
152
|
+
|
|
153
|
+
N.B. Don't forget to specify `-reg_file` option for the `beekeeper.pl -url $url -reg_file $REG_FILE -loop` command.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
init_pipeline.pl Bio::EnsEMBL::Pipeline::PipeConfig::BRC4_genome_loader_conf
|
|
157
|
+
$($CMD details script) \
|
|
158
|
+
-hive_force_init 1\
|
|
159
|
+
-queue_name $SPECIFIC_QUEUE_NAME \
|
|
160
|
+
-registry $REG_FILE \
|
|
161
|
+
-pipeline_tag "_${PIPELINE_RUN_TAG}" \
|
|
162
|
+
-ensembl_root_dir ${ENSEMBL_ROOT_DIR} \
|
|
163
|
+
-dbsrv_url $($CMD details url) \
|
|
164
|
+
-proddb_url "$($PROD_SERVER details url)""$PROD_DBNAME" \
|
|
165
|
+
-taxonomy_url "$($PROD_SERVER details url)""$TAXONOMY_DBNAME" \
|
|
166
|
+
-release ${RELEASE_VERSION} \
|
|
167
|
+
-data_dir ${INPUT_DIR}/manifests_dir/ \
|
|
168
|
+
-pipeline_dir $OUT_DIR/loader_run \
|
|
169
|
+
${OTHER_OPTIONS} \
|
|
170
|
+
2> $OUT_DIR/init.stderr \
|
|
171
|
+
1> $OUT_DIR/init.stdout
|
|
172
|
+
|
|
173
|
+
SYNC_CMD=$(cat $OUT_DIR/init.stdout | grep -- -sync'$' | perl -pe 's/^\s*//; s/"//g')
|
|
174
|
+
# should get something like
|
|
175
|
+
# beekeeper.pl -url $url -sync
|
|
176
|
+
|
|
177
|
+
LOOP_CMD=$(cat $OUT_DIR/init.stdout | grep -- -loop | perl -pe 's/^\s*//; s/\s*#.*$//; s/"//g')
|
|
178
|
+
# should get something like
|
|
179
|
+
# beekeeper.pl -url $url -reg_file $REG_FILE -loop
|
|
180
|
+
|
|
181
|
+
$SYNC_CMD 2> $OUT_DIR/sync.stderr 1> $OUT_DIR/sync.stdout
|
|
182
|
+
$LOOP_CMD 2> $OUT_DIR/loop.stderr 1> $OUT_DIR/loop.stdout
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### List of the pipelines
|
|
186
|
+
|
|
187
|
+
| Pipeline name | Description | Document | Comment | Module |
|
|
188
|
+
| - | - | - | - | - |
|
|
189
|
+
| BRC4_genome_loader | creates an [Ensembl core database](http://www.ensembl.org/info/docs/api/core/index.html) from a set of flat files or adds ad-hoc (ie organellas) sequences to the existing core | [BRC4_genome_loader](docs/BRC4_genome_loader.md) | | [Bio::EnsEMBL::Pipeline::PipeConfig::BRC4_genome_loader_conf](src/perl/Bio/EnsEMBL/Pipeline/PipeConfig/BRC4_genome_loader_conf.pm)
|
|
190
|
+
| BRC4_genome_dumper | | | | |
|
|
191
|
+
| | | | | |
|
|
192
|
+
| BRC4_genome_prepare | | | | |
|
|
193
|
+
| BRC4_addition_prepare | | | | |
|
|
194
|
+
| BRC4_genome_compare | | | | |
|
|
195
|
+
| | | | | |
|
|
196
|
+
| LoadGFF3 | | | | |
|
|
197
|
+
| LoadGFF3Batch | | | | |
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### Scripts
|
|
201
|
+
|
|
202
|
+
* [trf_split_run.bash](scripts/trf_split_run.bash) -- a trf wrapper with chunking support to be used with [ensembl-production-imported DNAFeatures pipeline](https://github.com/Ensembl/ensembl-production-imported/tree/main/src/perl/Bio/EnsEMBL/EGPipeline/PipeConfig/DNAFeatures_conf.pm) (see [docs](docs/trf_split_run.md))
|
|
203
|
+
|
|
204
|
+
## CI/CD bits
|
|
205
|
+
|
|
206
|
+
As for now some [Gitlab CI](https://docs.gitlab.com/ee/ci/) pipelines introduced to keep things in shape. Though, this bit is in constant development. Some documentation can be found in [docs for GitLab CI/CD](docs/cicd_gitlab.md)
|
|
207
|
+
|
|
208
|
+
## Various docs
|
|
209
|
+
|
|
210
|
+
See [docs](docs)
|
|
211
|
+
|
|
212
|
+
## Unit testing
|
|
213
|
+
|
|
214
|
+
The Python part of the codebase has now unit tests available to test each module. Make sure you have installed this repository's `[cicd]` dependencies (via `pip install ensembl-genomio[cicd]`) before continuing.
|
|
215
|
+
|
|
216
|
+
Running all the tests in one go is as easy as running `pytest` **from the root of the repository**. If you also want to measure, collect and report the code coverage, you can do:
|
|
217
|
+
```bash
|
|
218
|
+
coverage run -m pytest
|
|
219
|
+
coverage report
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
You can also run specific tests by supplying the path to the specific test file/subfolder, e.g.:
|
|
223
|
+
```bash
|
|
224
|
+
pytest lib/python/tests/test_schema.py
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## Acknowledgements
|
|
228
|
+
|
|
229
|
+
Some of this code and documentation is inherited from the [EnsemblGenomes](https://github.com/EnsemblGenomes) and other [Ensembl](https://github.com/Ensembl) projects. We appreciate the effort and time spent by developers of the [EnsemblGenomes](https://github.com/EnsemblGenomes) and [Ensembl](https://github.com/Ensembl) projects.
|
|
230
|
+
|
|
231
|
+
Thank you!
|