mgnipy.emgapi_v2_client.api.genomes.get_mgnify_genome module#
- async mgnipy.emgapi_v2_client.api.genomes.get_mgnify_genome.asyncio(accession, *, client)[source]#
Get the detail of a single MGnify Genome
MGnify Genomes are either isolates, or MAGs derived from binned metagenomes.
- Parameters:
accession (str )
client (AuthenticatedClient | Client)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
GenomeDetail
- Return type:
GenomeDetail | None
- async mgnipy.emgapi_v2_client.api.genomes.get_mgnify_genome.asyncio_detailed(accession, *, client)[source]#
Get the detail of a single MGnify Genome
MGnify Genomes are either isolates, or MAGs derived from binned metagenomes.
- Parameters:
accession (str )
client (AuthenticatedClient | Client)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[GenomeDetail]
- Return type:
- mgnipy.emgapi_v2_client.api.genomes.get_mgnify_genome.sync(accession, *, client)[source]#
Get the detail of a single MGnify Genome
MGnify Genomes are either isolates, or MAGs derived from binned metagenomes.
- Parameters:
accession (str )
client (AuthenticatedClient | Client)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
GenomeDetail
- Return type:
GenomeDetail | None
- mgnipy.emgapi_v2_client.api.genomes.get_mgnify_genome.sync_detailed(accession, *, client)[source]#
Get the detail of a single MGnify Genome
MGnify Genomes are either isolates, or MAGs derived from binned metagenomes.
- Parameters:
accession (str )
client (AuthenticatedClient | Client)
- Raises:
errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
httpx.TimeoutException – If the request takes longer than Client.timeout.
- Returns:
Response[GenomeDetail]
- Return type: