list_common_attributes
Retrieve commonly used attributes for a specific dataset from BioMart databases. Streamlines dataset exploration by providing essential attributes in a CSV format for easy analysis and integration.
Instructions
Lists commonly used attributes available for a given dataset.
This function returns only the most frequently used attributes (defined in COMMON_ATTRIBUTES)
to avoid overwhelming the model with too many options. For a complete list,
use list_all_attributes.
Args:
mart (str): The mart identifier (e.g., "ENSEMBL_MART_ENSEMBL")
dataset (str): The dataset identifier (e.g., "hsapiens_gene_ensembl")
Returns:
str: CSV-formatted table of common attributes with their display names and descriptions.
Example:
list_common_attributes("ENSEMBL_MART_ENSEMBL", "hsapiens_gene_ensembl")
>>> "name,display_name,description
ensembl_gene_id,Gene stable ID,Ensembl stable ID for the gene
external_gene_name,Gene name,The gene name
..."
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dataset | Yes | ||
mart | Yes |
Input Schema (JSON Schema)
{
"properties": {
"dataset": {
"title": "Dataset",
"type": "string"
},
"mart": {
"title": "Mart",
"type": "string"
}
},
"required": [
"mart",
"dataset"
],
"title": "list_common_attributesArguments",
"type": "object"
}