ncbi-datasets-pyclient 18.4.0__py3-none-any.whl → 18.13.0__py3-none-any.whl
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.
- ncbi/datasets/openapi/__init__.py +603 -250
- ncbi/datasets/openapi/api/bio_sample_api.py +1 -2
- ncbi/datasets/openapi/api/gene_api.py +1331 -1011
- ncbi/datasets/openapi/api/genome_api.py +1129 -1303
- ncbi/datasets/openapi/api/organelle_api.py +1 -2
- ncbi/datasets/openapi/api/prokaryote_api.py +31 -32
- ncbi/datasets/openapi/api/taxonomy_api.py +105 -106
- ncbi/datasets/openapi/api/version_api.py +1 -2
- ncbi/datasets/openapi/api/virus_api.py +772 -830
- ncbi/datasets/openapi/api_client.py +14 -8
- ncbi/datasets/openapi/configuration.py +8 -9
- ncbi/datasets/openapi/exceptions.py +1 -2
- ncbi/datasets/openapi/models/__init__.py +53 -3
- ncbi/datasets/openapi/models/ncbiprotddv2_chain_footprint.py +93 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_query_structure_definition.py +97 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_redundancy_level.py +39 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_sdid_request.py +87 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_similar_structure_report.py +121 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_similar_structure_report_page.py +99 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_similar_structure_request.py +97 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_sort_by_id.py +51 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_data_report.py +141 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_data_report_biounit_chain.py +94 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_data_report_experiment.py +89 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_data_report_kind.py +42 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_data_report_ligand_chain.py +94 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_structure_request.py +89 -0
- ncbi/datasets/openapi/models/ncbiprotddv2_vast_score.py +95 -0
- ncbi/datasets/openapi/models/protobuf_any.py +1 -2
- ncbi/datasets/openapi/models/rpc_status.py +1 -2
- ncbi/datasets/openapi/models/v2_accessions.py +87 -0
- ncbi/datasets/openapi/models/v2_annotation_for_assembly_type.py +2 -3
- ncbi/datasets/openapi/models/v2_annotation_for_organelle_type.py +2 -2
- ncbi/datasets/openapi/models/v2_assembly_accessions.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_check_m_histogram_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_check_m_histogram_reply_histogram_interval.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_check_m_histogram_request.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_data_report_draft_request.py +87 -0
- ncbi/datasets/openapi/models/v2_assembly_dataset_availability.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_descriptors_filter.py +9 -10
- ncbi/datasets/openapi/models/v2_assembly_dataset_descriptors_filter_assembly_source.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_descriptors_filter_assembly_version.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_descriptors_filter_metagenome_derived_filter.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_descriptors_filter_type_material_category.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_reports_request.py +5 -6
- ncbi/datasets/openapi/models/v2_assembly_dataset_reports_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_dataset_request.py +3 -4
- ncbi/datasets/openapi/models/v2_assembly_dataset_request_resolution.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_links_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_links_reply_assembly_link.py +3 -4
- ncbi/datasets/openapi/models/v2_assembly_links_reply_assembly_link_type.py +3 -3
- ncbi/datasets/openapi/models/v2_assembly_links_request.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_revision_history.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_revision_history_request.py +1 -2
- ncbi/datasets/openapi/models/v2_assembly_sequence_reports_request.py +3 -4
- ncbi/datasets/openapi/models/v2_bio_sample_dataset_reports_request.py +87 -0
- ncbi/datasets/openapi/models/v2_catalog_api_version.py +38 -0
- ncbi/datasets/openapi/models/v2_dataset_request.py +1 -2
- ncbi/datasets/openapi/models/v2_download_summary.py +1 -2
- ncbi/datasets/openapi/models/v2_download_summary_available_files.py +1 -2
- ncbi/datasets/openapi/models/v2_download_summary_dehydrated.py +1 -2
- ncbi/datasets/openapi/models/v2_download_summary_file_summary.py +1 -2
- ncbi/datasets/openapi/models/v2_download_summary_hydrated.py +1 -2
- ncbi/datasets/openapi/models/v2_element_flank_config.py +87 -0
- ncbi/datasets/openapi/models/v2_fasta.py +1 -2
- ncbi/datasets/openapi/models/v2_file_file_type.py +57 -0
- ncbi/datasets/openapi/models/v2_gene_chromosome_summary_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_chromosome_summary_reply_gene_chromosome_summary.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_chromosome_summary_request.py +89 -0
- ncbi/datasets/openapi/models/v2_gene_counts_by_taxon_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_counts_by_taxon_reply_gene_type_and_count.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_counts_by_taxon_request.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_dataset_reports_request.py +20 -9
- ncbi/datasets/openapi/models/v2_gene_dataset_reports_request_content_type.py +1 -3
- ncbi/datasets/openapi/models/v2_gene_dataset_reports_request_symbols_for_taxon.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_dataset_request.py +5 -6
- ncbi/datasets/openapi/models/v2_gene_dataset_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_dataset_request_gene_dataset_report_type.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_links_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_links_reply_gene_link.py +3 -4
- ncbi/datasets/openapi/models/v2_gene_links_reply_gene_link_type.py +2 -2
- ncbi/datasets/openapi/models/v2_gene_links_request.py +1 -2
- ncbi/datasets/openapi/models/v2_gene_pubmed_ids_request.py +87 -0
- ncbi/datasets/openapi/models/v2_gene_pubmed_ids_response.py +87 -0
- ncbi/datasets/openapi/models/v2_gene_type.py +1 -2
- ncbi/datasets/openapi/models/v2_genome_annotation_request.py +5 -6
- ncbi/datasets/openapi/models/v2_genome_annotation_request_annotation_type.py +2 -2
- ncbi/datasets/openapi/models/v2_genome_annotation_request_genome_annotation_table_format.py +1 -2
- ncbi/datasets/openapi/models/v2_genome_annotation_table_summary_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_http_body.py +1 -2
- ncbi/datasets/openapi/models/v2_image_size.py +1 -2
- ncbi/datasets/openapi/models/v2_include_tabular_header.py +1 -2
- ncbi/datasets/openapi/models/v2_micro_bigge_dataset_request.py +96 -0
- ncbi/datasets/openapi/models/v2_micro_bigge_dataset_request_file_type.py +39 -0
- ncbi/datasets/openapi/models/v2_mol_type.py +40 -0
- ncbi/datasets/openapi/models/v2_organelle_download_request.py +1 -2
- ncbi/datasets/openapi/models/v2_organelle_metadata_request.py +7 -8
- ncbi/datasets/openapi/models/v2_organelle_metadata_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_organelle_metadata_request_organelle_table_format.py +1 -2
- ncbi/datasets/openapi/models/v2_organelle_sort.py +3 -4
- ncbi/datasets/openapi/models/v2_organism_query_request.py +5 -6
- ncbi/datasets/openapi/models/v2_organism_query_request_tax_rank_filter.py +1 -2
- ncbi/datasets/openapi/models/v2_organism_query_request_taxon_resource_filter.py +1 -2
- ncbi/datasets/openapi/models/v2_ortholog_request.py +3 -4
- ncbi/datasets/openapi/models/v2_ortholog_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_prokaryote_gene_request.py +1 -2
- ncbi/datasets/openapi/models/v2_prokaryote_gene_request_gene_flank_config.py +1 -2
- ncbi/datasets/openapi/models/v2_ref_gene_catalog_dataset_request.py +96 -0
- ncbi/datasets/openapi/models/v2_ref_gene_catalog_dataset_request_file_type.py +38 -0
- ncbi/datasets/openapi/models/v2_sars2_protein_dataset_request.py +3 -4
- ncbi/datasets/openapi/models/v2_sci_name_and_ids.py +1 -2
- ncbi/datasets/openapi/models/v2_sci_name_and_ids_sci_name_and_id.py +3 -4
- ncbi/datasets/openapi/models/v2_seq_range.py +94 -0
- ncbi/datasets/openapi/models/v2_seq_reply.py +96 -0
- ncbi/datasets/openapi/models/v2_sequence_accession_request.py +1 -2
- ncbi/datasets/openapi/models/v2_sequence_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2_sleep_reply.py +87 -0
- ncbi/datasets/openapi/models/v2_sleep_request.py +89 -0
- ncbi/datasets/openapi/models/v2_sort_direction.py +1 -2
- ncbi/datasets/openapi/models/v2_sort_field.py +3 -4
- ncbi/datasets/openapi/models/v2_table_format.py +1 -2
- ncbi/datasets/openapi/models/v2_tabular_output.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_dataset_request.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_dataset_request_taxonomy_report_type.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_filtered_subtree_request.py +5 -4
- ncbi/datasets/openapi/models/v2_taxonomy_filtered_subtree_response.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_filtered_subtree_response_edge.py +3 -4
- ncbi/datasets/openapi/models/v2_taxonomy_filtered_subtree_response_edge_child_status.py +2 -2
- ncbi/datasets/openapi/models/v2_taxonomy_filtered_subtree_response_edges_entry.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_image_metadata_request.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_image_metadata_response.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_image_request.py +3 -4
- ncbi/datasets/openapi/models/v2_taxonomy_links_request.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_links_response.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_links_response_generic_link.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_match.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_metadata_request.py +7 -8
- ncbi/datasets/openapi/models/v2_taxonomy_metadata_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_metadata_request_table_format.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_metadata_response.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_node.py +3 -4
- ncbi/datasets/openapi/models/v2_taxonomy_node_count_by_type.py +3 -4
- ncbi/datasets/openapi/models/v2_taxonomy_related_id_request.py +1 -2
- ncbi/datasets/openapi/models/v2_taxonomy_tax_ids_page.py +1 -2
- ncbi/datasets/openapi/models/v2_version_reply.py +1 -2
- ncbi/datasets/openapi/models/v2_viral_sequence_type.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_annotation_filter.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_annotation_report_request.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_availability.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_availability_request.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_data_report_request.py +3 -4
- ncbi/datasets/openapi/models/v2_virus_data_report_request_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_dataset_filter.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_dataset_report_type.py +1 -2
- ncbi/datasets/openapi/models/v2_virus_dataset_request.py +3 -4
- ncbi/datasets/openapi/models/v2_virus_table_field.py +1 -2
- ncbi/datasets/openapi/models/v2archive_affiliation.py +95 -0
- ncbi/datasets/openapi/models/v2archive_catalog.py +121 -0
- ncbi/datasets/openapi/models/v2archive_location.py +95 -0
- ncbi/datasets/openapi/models/v2archive_modifier.py +90 -0
- ncbi/datasets/openapi/models/v2archive_molecule_type.py +43 -0
- ncbi/datasets/openapi/models/v2archive_name.py +105 -0
- ncbi/datasets/openapi/models/v2archive_nuccore_request.py +87 -0
- ncbi/datasets/openapi/models/v2archive_sequence.py +90 -0
- ncbi/datasets/openapi/models/v2archive_sequence_length_units.py +39 -0
- ncbi/datasets/openapi/models/v2archive_submitter.py +105 -0
- ncbi/datasets/openapi/models/v2archive_taxonomy_node.py +118 -0
- ncbi/datasets/openapi/models/v2archive_taxonomy_subtype.py +77 -0
- ncbi/datasets/openapi/models/v2reports_additional_submitter.py +1 -2
- ncbi/datasets/openapi/models/v2reports_ani_match.py +3 -4
- ncbi/datasets/openapi/models/v2reports_ani_type_category.py +2 -3
- ncbi/datasets/openapi/models/v2reports_annotation.py +1 -2
- ncbi/datasets/openapi/models/v2reports_annotation_info.py +1 -2
- ncbi/datasets/openapi/models/v2reports_assembly_data_report.py +3 -4
- ncbi/datasets/openapi/models/v2reports_assembly_data_report_page.py +3 -4
- ncbi/datasets/openapi/models/v2reports_assembly_info.py +5 -6
- ncbi/datasets/openapi/models/v2reports_assembly_level.py +1 -2
- ncbi/datasets/openapi/models/v2reports_assembly_revision.py +8 -7
- ncbi/datasets/openapi/models/v2reports_assembly_stats.py +4 -3
- ncbi/datasets/openapi/models/v2reports_assembly_status.py +1 -2
- ncbi/datasets/openapi/models/v2reports_atypical_info.py +1 -2
- ncbi/datasets/openapi/models/v2reports_average_nucleotide_identity.py +7 -8
- ncbi/datasets/openapi/models/v2reports_average_nucleotide_identity_match_status.py +1 -2
- ncbi/datasets/openapi/models/v2reports_average_nucleotide_identity_taxonomy_check_status.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_project.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_project_lineage.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_attribute.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_contact.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_data_report.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_data_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_description.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_descriptor.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_id.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_owner.py +1 -2
- ncbi/datasets/openapi/models/v2reports_bio_sample_status.py +1 -2
- ncbi/datasets/openapi/models/v2reports_busco_stat.py +1 -2
- ncbi/datasets/openapi/models/v2reports_check_m.py +1 -2
- ncbi/datasets/openapi/models/v2reports_classification.py +8 -4
- ncbi/datasets/openapi/models/v2reports_collection_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_conserved_domain.py +1 -2
- ncbi/datasets/openapi/models/v2reports_content_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_count_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_error.py +11 -12
- ncbi/datasets/openapi/models/v2reports_error_assembly_error_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_error_gene_error_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_error_organelle_error_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_error_taxonomy_error_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_error_virus_error_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_feature_counts.py +1 -2
- ncbi/datasets/openapi/models/v2reports_functional_site.py +97 -0
- ncbi/datasets/openapi/models/v2reports_gene_counts.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_data_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_descriptor.py +7 -8
- ncbi/datasets/openapi/models/v2reports_gene_group.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_ontology.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_report_match.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_summary.py +1 -2
- ncbi/datasets/openapi/models/v2reports_gene_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_genome_annotation.py +7 -8
- ncbi/datasets/openapi/models/v2reports_genome_annotation_report_match.py +1 -2
- ncbi/datasets/openapi/models/v2reports_genome_annotation_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_genomic_location.py +1 -2
- ncbi/datasets/openapi/models/v2reports_genomic_region.py +3 -4
- ncbi/datasets/openapi/models/v2reports_genomic_region_genomic_region_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_infraspecific_names.py +1 -2
- ncbi/datasets/openapi/models/v2reports_isolate.py +1 -2
- ncbi/datasets/openapi/models/v2reports_lineage_organism.py +1 -2
- ncbi/datasets/openapi/models/v2reports_linked_assembly.py +3 -4
- ncbi/datasets/openapi/models/v2reports_linked_assembly_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_mature_peptide.py +1 -2
- ncbi/datasets/openapi/models/v2reports_message.py +1 -2
- ncbi/datasets/openapi/models/v2reports_name_and_authority.py +1 -2
- ncbi/datasets/openapi/models/v2reports_name_and_authority_note.py +3 -4
- ncbi/datasets/openapi/models/v2reports_name_and_authority_note_classifier.py +1 -2
- ncbi/datasets/openapi/models/v2reports_name_and_authority_publication.py +1 -2
- ncbi/datasets/openapi/models/v2reports_nomenclature_authority.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle.py +5 -6
- ncbi/datasets/openapi/models/v2reports_organelle_biosample.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle_data_reports.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle_gene_counts.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle_info.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle_topology.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organelle_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_organism.py +1 -2
- ncbi/datasets/openapi/models/v2reports_orientation.py +1 -2
- ncbi/datasets/openapi/models/v2reports_paired_assembly.py +7 -6
- ncbi/datasets/openapi/models/v2reports_process_metadata.py +1 -2
- ncbi/datasets/openapi/models/v2reports_product_descriptor.py +5 -6
- ncbi/datasets/openapi/models/v2reports_prokaryote_gene_location_completeness.py +37 -0
- ncbi/datasets/openapi/models/v2reports_protein.py +1 -2
- ncbi/datasets/openapi/models/v2reports_protein_conserved_domain.py +103 -0
- ncbi/datasets/openapi/models/v2reports_protein_data_report.py +127 -0
- ncbi/datasets/openapi/models/v2reports_protein_data_report_page.py +95 -0
- ncbi/datasets/openapi/models/v2reports_protein_family.py +95 -0
- ncbi/datasets/openapi/models/v2reports_purpose_of_sampling.py +1 -2
- ncbi/datasets/openapi/models/v2reports_range.py +3 -4
- ncbi/datasets/openapi/models/v2reports_rank_type.py +3 -2
- ncbi/datasets/openapi/models/v2reports_reference.py +1 -2
- ncbi/datasets/openapi/models/v2reports_rna_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_seq_range_set.py +1 -2
- ncbi/datasets/openapi/models/v2reports_seq_range_set_fasta.py +1 -2
- ncbi/datasets/openapi/models/v2reports_sequence_info.py +1 -2
- ncbi/datasets/openapi/models/v2reports_sequence_information.py +1 -2
- ncbi/datasets/openapi/models/v2reports_source_database.py +1 -2
- ncbi/datasets/openapi/models/v2reports_tax_data.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_data_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_names_data_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_names_descriptor.py +3 -4
- ncbi/datasets/openapi/models/v2reports_taxonomy_names_descriptor_citation.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_names_report_match.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_node.py +7 -6
- ncbi/datasets/openapi/models/v2reports_taxonomy_node_count_by_type.py +3 -4
- ncbi/datasets/openapi/models/v2reports_taxonomy_report_match.py +1 -2
- ncbi/datasets/openapi/models/v2reports_taxonomy_type_material.py +1 -2
- ncbi/datasets/openapi/models/v2reports_transcript.py +5 -6
- ncbi/datasets/openapi/models/v2reports_transcript_select_category.py +1 -2
- ncbi/datasets/openapi/models/v2reports_transcript_transcript_type.py +1 -2
- ncbi/datasets/openapi/models/v2reports_transcript_type_count.py +3 -4
- ncbi/datasets/openapi/models/v2reports_type_material.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_annotation_report.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_annotation_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_assembly.py +5 -6
- ncbi/datasets/openapi/models/v2reports_virus_assembly_collection_location.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_assembly_completeness.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_assembly_submitter_info.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_data_report_page.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_gene.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_peptide.py +3 -4
- ncbi/datasets/openapi/models/v2reports_virus_peptide_uni_prot_id.py +1 -2
- ncbi/datasets/openapi/models/v2reports_virus_peptide_viral_peptide_completeness.py +1 -2
- ncbi/datasets/openapi/models/v2reports_warning.py +3 -4
- ncbi/datasets/openapi/models/v2reports_warning_gene_warning_code.py +1 -2
- ncbi/datasets/openapi/models/v2reports_warning_replaced_id.py +1 -2
- ncbi/datasets/openapi/models/v2reports_wgs_info.py +1 -2
- ncbi/datasets/openapi/rest.py +1 -2
- ncbi_datasets_pyclient-18.13.0.dist-info/METADATA +537 -0
- ncbi_datasets_pyclient-18.13.0.dist-info/RECORD +305 -0
- ncbi_datasets_pyclient-18.4.0.dist-info/METADATA +0 -25
- ncbi_datasets_pyclient-18.4.0.dist-info/RECORD +0 -254
- {ncbi_datasets_pyclient-18.4.0.dist-info → ncbi_datasets_pyclient-18.13.0.dist-info}/WHEEL +0 -0
- {ncbi_datasets_pyclient-18.4.0.dist-info → ncbi_datasets_pyclient-18.13.0.dist-info}/licenses/LICENSE +0 -0
- {ncbi_datasets_pyclient-18.4.0.dist-info → ncbi_datasets_pyclient-18.13.0.dist-info}/top_level.txt +0 -0
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -30,7 +29,7 @@ class V2reportsNameAndAuthorityNote(BaseModel):
|
|
|
30
29
|
""" # noqa: E501
|
|
31
30
|
name: Optional[StrictStr] = None
|
|
32
31
|
note: Optional[StrictStr] = None
|
|
33
|
-
note_classifier: Optional[V2reportsNameAndAuthorityNoteClassifier] =
|
|
32
|
+
note_classifier: Optional[V2reportsNameAndAuthorityNoteClassifier] = V2reportsNameAndAuthorityNoteClassifier.NO_AUTHORITY_CLASSIFIER
|
|
34
33
|
__properties: ClassVar[List[str]] = ["name", "note", "note_classifier"]
|
|
35
34
|
|
|
36
35
|
model_config = ConfigDict(
|
|
@@ -86,7 +85,7 @@ class V2reportsNameAndAuthorityNote(BaseModel):
|
|
|
86
85
|
_obj = cls.model_validate({
|
|
87
86
|
"name": obj.get("name"),
|
|
88
87
|
"note": obj.get("note"),
|
|
89
|
-
"note_classifier": obj.get("note_classifier")
|
|
88
|
+
"note_classifier": obj.get("note_classifier") if obj.get("note_classifier") is not None else V2reportsNameAndAuthorityNoteClassifier.NO_AUTHORITY_CLASSIFIER
|
|
90
89
|
})
|
|
91
90
|
return _obj
|
|
92
91
|
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -34,7 +33,7 @@ class V2reportsOrganelle(BaseModel):
|
|
|
34
33
|
"""
|
|
35
34
|
V2reportsOrganelle
|
|
36
35
|
""" # noqa: E501
|
|
37
|
-
description: Optional[V2reportsOrganelleType] =
|
|
36
|
+
description: Optional[V2reportsOrganelleType] = V2reportsOrganelleType.ORGANELLE_TYPE_UNKNOWN
|
|
38
37
|
genbank: Optional[V2reportsSequenceInformation] = None
|
|
39
38
|
refseq: Optional[V2reportsSequenceInformation] = None
|
|
40
39
|
organism: Optional[V2reportsOrganism] = None
|
|
@@ -42,7 +41,7 @@ class V2reportsOrganelle(BaseModel):
|
|
|
42
41
|
biosample: Optional[V2reportsOrganelleBiosample] = None
|
|
43
42
|
gene_counts: Optional[V2reportsOrganelleGeneCounts] = None
|
|
44
43
|
length: Optional[StrictInt] = None
|
|
45
|
-
topology: Optional[V2reportsOrganelleTopology] =
|
|
44
|
+
topology: Optional[V2reportsOrganelleTopology] = V2reportsOrganelleTopology.TOPOLOGY_UNKNOWN
|
|
46
45
|
gene_count: Optional[StrictInt] = None
|
|
47
46
|
__properties: ClassVar[List[str]] = ["description", "genbank", "refseq", "organism", "bioprojects", "biosample", "gene_counts", "length", "topology", "gene_count"]
|
|
48
47
|
|
|
@@ -119,7 +118,7 @@ class V2reportsOrganelle(BaseModel):
|
|
|
119
118
|
return cls.model_validate(obj)
|
|
120
119
|
|
|
121
120
|
_obj = cls.model_validate({
|
|
122
|
-
"description": obj.get("description"),
|
|
121
|
+
"description": obj.get("description") if obj.get("description") is not None else V2reportsOrganelleType.ORGANELLE_TYPE_UNKNOWN,
|
|
123
122
|
"genbank": V2reportsSequenceInformation.from_dict(obj["genbank"]) if obj.get("genbank") is not None else None,
|
|
124
123
|
"refseq": V2reportsSequenceInformation.from_dict(obj["refseq"]) if obj.get("refseq") is not None else None,
|
|
125
124
|
"organism": V2reportsOrganism.from_dict(obj["organism"]) if obj.get("organism") is not None else None,
|
|
@@ -127,7 +126,7 @@ class V2reportsOrganelle(BaseModel):
|
|
|
127
126
|
"biosample": V2reportsOrganelleBiosample.from_dict(obj["biosample"]) if obj.get("biosample") is not None else None,
|
|
128
127
|
"gene_counts": V2reportsOrganelleGeneCounts.from_dict(obj["gene_counts"]) if obj.get("gene_counts") is not None else None,
|
|
129
128
|
"length": obj.get("length"),
|
|
130
|
-
"topology": obj.get("topology"),
|
|
129
|
+
"topology": obj.get("topology") if obj.get("topology") is not None else V2reportsOrganelleTopology.TOPOLOGY_UNKNOWN,
|
|
131
130
|
"gene_count": obj.get("gene_count")
|
|
132
131
|
})
|
|
133
132
|
return _obj
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -29,14 +28,15 @@ class V2reportsPairedAssembly(BaseModel):
|
|
|
29
28
|
V2reportsPairedAssembly
|
|
30
29
|
""" # noqa: E501
|
|
31
30
|
accession: Optional[StrictStr] = None
|
|
32
|
-
status: Optional[V2reportsAssemblyStatus] =
|
|
31
|
+
status: Optional[V2reportsAssemblyStatus] = V2reportsAssemblyStatus.ASSEMBLY_STATUS_UNKNOWN
|
|
33
32
|
annotation_name: Optional[StrictStr] = None
|
|
34
33
|
only_genbank: Optional[StrictStr] = None
|
|
35
34
|
only_refseq: Optional[StrictStr] = None
|
|
36
35
|
changed: Optional[StrictStr] = None
|
|
37
36
|
manual_diff: Optional[StrictStr] = None
|
|
38
37
|
refseq_genbank_are_different: Optional[StrictBool] = None
|
|
39
|
-
|
|
38
|
+
differences: Optional[StrictStr] = None
|
|
39
|
+
__properties: ClassVar[List[str]] = ["accession", "status", "annotation_name", "only_genbank", "only_refseq", "changed", "manual_diff", "refseq_genbank_are_different", "differences"]
|
|
40
40
|
|
|
41
41
|
model_config = ConfigDict(
|
|
42
42
|
populate_by_name=True,
|
|
@@ -90,13 +90,14 @@ class V2reportsPairedAssembly(BaseModel):
|
|
|
90
90
|
|
|
91
91
|
_obj = cls.model_validate({
|
|
92
92
|
"accession": obj.get("accession"),
|
|
93
|
-
"status": obj.get("status"),
|
|
93
|
+
"status": obj.get("status") if obj.get("status") is not None else V2reportsAssemblyStatus.ASSEMBLY_STATUS_UNKNOWN,
|
|
94
94
|
"annotation_name": obj.get("annotation_name"),
|
|
95
95
|
"only_genbank": obj.get("only_genbank"),
|
|
96
96
|
"only_refseq": obj.get("only_refseq"),
|
|
97
97
|
"changed": obj.get("changed"),
|
|
98
98
|
"manual_diff": obj.get("manual_diff"),
|
|
99
|
-
"refseq_genbank_are_different": obj.get("refseq_genbank_are_different")
|
|
99
|
+
"refseq_genbank_are_different": obj.get("refseq_genbank_are_different"),
|
|
100
|
+
"differences": obj.get("differences")
|
|
100
101
|
})
|
|
101
102
|
return _obj
|
|
102
103
|
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -37,8 +36,8 @@ class V2reportsProductDescriptor(BaseModel):
|
|
|
37
36
|
tax_id: Optional[StrictStr] = None
|
|
38
37
|
taxname: Optional[StrictStr] = None
|
|
39
38
|
common_name: Optional[StrictStr] = None
|
|
40
|
-
type: Optional[V2reportsGeneType] =
|
|
41
|
-
rna_type: Optional[V2reportsRnaType] =
|
|
39
|
+
type: Optional[V2reportsGeneType] = V2reportsGeneType.UNKNOWN
|
|
40
|
+
rna_type: Optional[V2reportsRnaType] = V2reportsRnaType.RNA_UNKNOWN
|
|
42
41
|
transcripts: Optional[List[V2reportsTranscript]] = None
|
|
43
42
|
transcript_count: Optional[StrictInt] = None
|
|
44
43
|
protein_count: Optional[StrictInt] = None
|
|
@@ -116,8 +115,8 @@ class V2reportsProductDescriptor(BaseModel):
|
|
|
116
115
|
"tax_id": obj.get("tax_id"),
|
|
117
116
|
"taxname": obj.get("taxname"),
|
|
118
117
|
"common_name": obj.get("common_name"),
|
|
119
|
-
"type": obj.get("type"),
|
|
120
|
-
"rna_type": obj.get("rna_type"),
|
|
118
|
+
"type": obj.get("type") if obj.get("type") is not None else V2reportsGeneType.UNKNOWN,
|
|
119
|
+
"rna_type": obj.get("rna_type") if obj.get("rna_type") is not None else V2reportsRnaType.RNA_UNKNOWN,
|
|
121
120
|
"transcripts": [V2reportsTranscript.from_dict(_item) for _item in obj["transcripts"]] if obj.get("transcripts") is not None else None,
|
|
122
121
|
"transcript_count": obj.get("transcript_count"),
|
|
123
122
|
"protein_count": obj.get("protein_count"),
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import json
|
|
17
|
+
from enum import Enum
|
|
18
|
+
from typing_extensions import Self
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class V2reportsProkaryoteGeneLocationCompleteness(str, Enum):
|
|
22
|
+
"""
|
|
23
|
+
V2reportsProkaryoteGeneLocationCompleteness
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
allowed enum values
|
|
28
|
+
"""
|
|
29
|
+
COMPLETE = 'complete'
|
|
30
|
+
PARTIAL = 'partial'
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_json(cls, json_str: str) -> Self:
|
|
34
|
+
"""Create an instance of V2reportsProkaryoteGeneLocationCompleteness from a JSON string"""
|
|
35
|
+
return cls(json.loads(json_str))
|
|
36
|
+
|
|
37
|
+
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
NCBI Datasets API
|
|
5
5
|
|
|
6
|
-
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 2 API is
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v2
|
|
9
|
-
Contact: help@ncbi.nlm.nih.gov
|
|
10
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
10
|
|
|
12
11
|
Do not edit the class manually.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictFloat, StrictInt, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class V2reportsProteinConservedDomain(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
V2reportsProteinConservedDomain
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
accession: Optional[StrictStr] = None
|
|
30
|
+
name: Optional[StrictStr] = None
|
|
31
|
+
description: Optional[StrictStr] = None
|
|
32
|
+
start: Optional[StrictInt] = None
|
|
33
|
+
stop: Optional[StrictInt] = None
|
|
34
|
+
specific: Optional[StrictBool] = None
|
|
35
|
+
partial: Optional[StrictBool] = None
|
|
36
|
+
evalue: Optional[Union[StrictFloat, StrictInt]] = None
|
|
37
|
+
bit_score: Optional[Union[StrictFloat, StrictInt]] = None
|
|
38
|
+
__properties: ClassVar[List[str]] = ["accession", "name", "description", "start", "stop", "specific", "partial", "evalue", "bit_score"]
|
|
39
|
+
|
|
40
|
+
model_config = ConfigDict(
|
|
41
|
+
populate_by_name=True,
|
|
42
|
+
validate_assignment=True,
|
|
43
|
+
protected_namespaces=(),
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def to_str(self) -> str:
|
|
48
|
+
"""Returns the string representation of the model using alias"""
|
|
49
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
50
|
+
|
|
51
|
+
def to_json(self) -> str:
|
|
52
|
+
"""Returns the JSON representation of the model using alias"""
|
|
53
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
54
|
+
return json.dumps(self.to_dict())
|
|
55
|
+
|
|
56
|
+
@classmethod
|
|
57
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
58
|
+
"""Create an instance of V2reportsProteinConservedDomain from a JSON string"""
|
|
59
|
+
return cls.from_dict(json.loads(json_str))
|
|
60
|
+
|
|
61
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
62
|
+
"""Return the dictionary representation of the model using alias.
|
|
63
|
+
|
|
64
|
+
This has the following differences from calling pydantic's
|
|
65
|
+
`self.model_dump(by_alias=True)`:
|
|
66
|
+
|
|
67
|
+
* `None` is only added to the output dict for nullable fields that
|
|
68
|
+
were set at model initialization. Other fields with value `None`
|
|
69
|
+
are ignored.
|
|
70
|
+
"""
|
|
71
|
+
excluded_fields: Set[str] = set([
|
|
72
|
+
])
|
|
73
|
+
|
|
74
|
+
_dict = self.model_dump(
|
|
75
|
+
by_alias=True,
|
|
76
|
+
exclude=excluded_fields,
|
|
77
|
+
exclude_none=True,
|
|
78
|
+
)
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of V2reportsProteinConservedDomain from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"accession": obj.get("accession"),
|
|
92
|
+
"name": obj.get("name"),
|
|
93
|
+
"description": obj.get("description"),
|
|
94
|
+
"start": obj.get("start"),
|
|
95
|
+
"stop": obj.get("stop"),
|
|
96
|
+
"specific": obj.get("specific"),
|
|
97
|
+
"partial": obj.get("partial"),
|
|
98
|
+
"evalue": obj.get("evalue"),
|
|
99
|
+
"bit_score": obj.get("bit_score")
|
|
100
|
+
})
|
|
101
|
+
return _obj
|
|
102
|
+
|
|
103
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
NCBI Datasets API
|
|
5
|
+
|
|
6
|
+
### NCBI Datasets is a resource that lets you easily gather data from NCBI. The NCBI Datasets version 2 API is updated often to add new features, fix bugs, and enhance usability.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v2
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from ncbi.datasets.openapi.models.v2reports_functional_site import V2reportsFunctionalSite
|
|
23
|
+
from ncbi.datasets.openapi.models.v2reports_protein_conserved_domain import V2reportsProteinConservedDomain
|
|
24
|
+
from ncbi.datasets.openapi.models.v2reports_protein_family import V2reportsProteinFamily
|
|
25
|
+
from typing import Optional, Set
|
|
26
|
+
from typing_extensions import Self
|
|
27
|
+
|
|
28
|
+
class V2reportsProteinDataReport(BaseModel):
|
|
29
|
+
"""
|
|
30
|
+
V2reportsProteinDataReport
|
|
31
|
+
""" # noqa: E501
|
|
32
|
+
accession: Optional[StrictStr] = None
|
|
33
|
+
description: Optional[StrictStr] = None
|
|
34
|
+
length: Optional[StrictInt] = None
|
|
35
|
+
gene_id: Optional[StrictInt] = None
|
|
36
|
+
identical_protein_group: Optional[StrictInt] = None
|
|
37
|
+
tax_id: Optional[StrictInt] = None
|
|
38
|
+
conserved_domains: Optional[List[V2reportsProteinConservedDomain]] = None
|
|
39
|
+
functional_sites: Optional[List[V2reportsFunctionalSite]] = None
|
|
40
|
+
protein_families: Optional[List[V2reportsProteinFamily]] = None
|
|
41
|
+
__properties: ClassVar[List[str]] = ["accession", "description", "length", "gene_id", "identical_protein_group", "tax_id", "conserved_domains", "functional_sites", "protein_families"]
|
|
42
|
+
|
|
43
|
+
model_config = ConfigDict(
|
|
44
|
+
populate_by_name=True,
|
|
45
|
+
validate_assignment=True,
|
|
46
|
+
protected_namespaces=(),
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def to_str(self) -> str:
|
|
51
|
+
"""Returns the string representation of the model using alias"""
|
|
52
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
53
|
+
|
|
54
|
+
def to_json(self) -> str:
|
|
55
|
+
"""Returns the JSON representation of the model using alias"""
|
|
56
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
57
|
+
return json.dumps(self.to_dict())
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of V2reportsProteinDataReport from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
"""
|
|
74
|
+
excluded_fields: Set[str] = set([
|
|
75
|
+
])
|
|
76
|
+
|
|
77
|
+
_dict = self.model_dump(
|
|
78
|
+
by_alias=True,
|
|
79
|
+
exclude=excluded_fields,
|
|
80
|
+
exclude_none=True,
|
|
81
|
+
)
|
|
82
|
+
# override the default output from pydantic by calling `to_dict()` of each item in conserved_domains (list)
|
|
83
|
+
_items = []
|
|
84
|
+
if self.conserved_domains:
|
|
85
|
+
for _item_conserved_domains in self.conserved_domains:
|
|
86
|
+
if _item_conserved_domains:
|
|
87
|
+
_items.append(_item_conserved_domains.to_dict())
|
|
88
|
+
_dict['conserved_domains'] = _items
|
|
89
|
+
# override the default output from pydantic by calling `to_dict()` of each item in functional_sites (list)
|
|
90
|
+
_items = []
|
|
91
|
+
if self.functional_sites:
|
|
92
|
+
for _item_functional_sites in self.functional_sites:
|
|
93
|
+
if _item_functional_sites:
|
|
94
|
+
_items.append(_item_functional_sites.to_dict())
|
|
95
|
+
_dict['functional_sites'] = _items
|
|
96
|
+
# override the default output from pydantic by calling `to_dict()` of each item in protein_families (list)
|
|
97
|
+
_items = []
|
|
98
|
+
if self.protein_families:
|
|
99
|
+
for _item_protein_families in self.protein_families:
|
|
100
|
+
if _item_protein_families:
|
|
101
|
+
_items.append(_item_protein_families.to_dict())
|
|
102
|
+
_dict['protein_families'] = _items
|
|
103
|
+
return _dict
|
|
104
|
+
|
|
105
|
+
@classmethod
|
|
106
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
107
|
+
"""Create an instance of V2reportsProteinDataReport from a dict"""
|
|
108
|
+
if obj is None:
|
|
109
|
+
return None
|
|
110
|
+
|
|
111
|
+
if not isinstance(obj, dict):
|
|
112
|
+
return cls.model_validate(obj)
|
|
113
|
+
|
|
114
|
+
_obj = cls.model_validate({
|
|
115
|
+
"accession": obj.get("accession"),
|
|
116
|
+
"description": obj.get("description"),
|
|
117
|
+
"length": obj.get("length"),
|
|
118
|
+
"gene_id": obj.get("gene_id"),
|
|
119
|
+
"identical_protein_group": obj.get("identical_protein_group"),
|
|
120
|
+
"tax_id": obj.get("tax_id"),
|
|
121
|
+
"conserved_domains": [V2reportsProteinConservedDomain.from_dict(_item) for _item in obj["conserved_domains"]] if obj.get("conserved_domains") is not None else None,
|
|
122
|
+
"functional_sites": [V2reportsFunctionalSite.from_dict(_item) for _item in obj["functional_sites"]] if obj.get("functional_sites") is not None else None,
|
|
123
|
+
"protein_families": [V2reportsProteinFamily.from_dict(_item) for _item in obj["protein_families"]] if obj.get("protein_families") is not None else None
|
|
124
|
+
})
|
|
125
|
+
return _obj
|
|
126
|
+
|
|
127
|
+
|