[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EC69FHRFQBF6699EMHN76X":3,"skill-same:01M6EC69FHRFQBF6699EMHN76X":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":24,"frontMatter":25,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M6EC69FHRFQBF6699EMHN76X","exploratory-data-analysis",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FK-Dense-AI\u002Fclaude-scientific-skills\u002Fexploratory-data-analysis\u002FSKILL.md",[],[18,19,20,21],"data analysis","data","exploratory data analysis","analysis","2026-11-10 10:12:30",false,"# Exploratory Data Analysis\n\n## Overview\n\nPerform comprehensive exploratory data analysis (EDA) on scientific data files across multiple domains. This skill provides automated file type detection, format-specific analysis, data quality assessment, and generates detailed markdown reports suitable for documentation and downstream analysis planning.\n\n**Key Capabilities:**\n- Automatic detection and analysis of 200+ scientific file formats\n- Comprehensive format-specific metadata extraction\n- Data quality and integrity assessment\n- Statistical summaries and distributions\n- Visualization recommendations\n- Downstream analysis suggestions\n- Markdown report generation\n\n## When to Use This Skill\n\nUse this skill when:\n- User provides a path to a scientific data file for analysis\n- User asks to \"explore\", \"analyze\", or \"summarize\" a data file\n- User wants to understand the structure and content of scientific data\n- User needs a comprehensive report of a dataset before analysis\n- User wants to assess data quality or completeness\n- User asks what type of analysis is appropriate for a file\n\n## Supported File Categories\n\nThe skill has comprehensive coverage of scientific file formats organized into six major categories:\n\n### 1. Chemistry and Molecular Formats (60+ extensions)\nStructure files, computational chemistry outputs, molecular dynamics trajectories, and chemical databases.\n\n**File types include:** `.pdb`, `.cif`, `.mol`, `.mol2`, `.sdf`, `.xyz`, `.smi`, `.gro`, `.log`, `.fchk`, `.cube`, `.dcd`, `.xtc`, `.trr`, `.prmtop`, `.psf`, and more.\n\n**Reference file:** `references\u002Fchemistry_molecular_formats.md`\n\n### 2. Bioinformatics and Genomics Formats (50+ extensions)\nSequence data, alignments, annotations, variants, and expression data.\n\n**File types include:** `.fasta`, `.fastq`, `.sam`, `.bam`, `.vcf`, `.bed`, `.gff`, `.gtf`, `.bigwig`, `.h5ad`, `.loom`, `.counts`, `.mtx`, and more.\n\n**Reference file:** `references\u002Fbioinformatics_genomics_formats.md`\n\n### 3. Microscopy and Imaging Formats (45+ extensions)\nMicroscopy images, medical imaging, whole slide imaging, and electron microscopy.\n\n**File types include:** `.tif`, `.nd2`, `.lif`, `.czi`, `.ims`, `.dcm`, `.nii`, `.mrc`, `.dm3`, `.vsi`, `.svs`, `.ome.tiff`, and more.\n\n**Reference file:** `references\u002Fmicroscopy_imaging_formats.md`\n\n### 4. Spectroscopy and Analytical Chemistry Formats (35+ extensions)\nNMR, mass spectrometry, IR\u002FRaman, UV-Vis, X-ray, chromatography, and other analytical techniques.\n\n**File types include:** `.fid`, `.mzML`, `.mzXML`, `.raw`, `.mgf`, `.spc`, `.jdx`, `.xy`, `.cif` (crystallography), `.wdf`, and more.\n\n**Reference file:** `references\u002Fspectroscopy_analytical_formats.md`\n\n### 5. Proteomics and Metabolomics Formats (30+ extensions)\nMass spec proteomics, metabolomics, lipidomics, and multi-omics data.\n\n**File types include:** `.mzML`, `.pepXML`, `.protXML`, `.mzid`, `.mzTab`, `.sky`, `.mgf`, `.msp`, `.h5ad`, and more.\n\n**Reference file:** `references\u002Fproteomics_metabolomics_formats.md`\n\n### 6. General Scientific Data Formats (30+ extensions)\nArrays, tables, hierarchical data, compressed archives, and common scientific formats.\n\n**File types include:** `.npy`, `.npz`, `.csv`, `.xlsx`, `.json`, `.hdf5`, `.zarr`, `.parquet`, `.mat`, `.fits`, `.nc`, `.xml`, and more.\n\n**Reference file:** `references\u002Fgeneral_scientific_formats.md`\n\n## Workflow\n\n### Step 1: File Type Detection\n\nWhen a user provides a file path, first identify the file type:\n\n1. Extract the file extension\n2. Look up the extension in the appropriate reference file\n3. Identify the file category and format description\n4. Load format-specific information\n\n**Example:**\n```\nUser: \"Analyze data.fastq\"\n→ Extension: .fastq\n→ Category: bioinformatics_genomics\n→ Format: FASTQ Format (sequence data with quality scores)\n→ Reference: references\u002Fbioinformatics_genomics_formats.md\n```\n\n### Step 2: Load Format-Specific Information\n\nBased on the file type, read the corresponding reference file to understand:\n- **Typical Data:** What kind of data this format contains\n- **Use Cases:** Common applications for this format\n- **Python Libraries:** How to read the file in Python\n- **EDA Approach:** What analyses are appropriate for this data type\n\nSearch the reference file for the specific extension (e.g., search for \"### .fastq\" in `bioinformatics_genomics_formats.md`).\n\n### Step 3: Perform Data Analysis\n\nUse the `scripts\u002Feda_analyzer.py` script OR implement custom analysis:\n\n**Option A: Use the analyzer script**\n```python\n# The script automatically:\n# 1. Detects file type\n# 2. Loads reference information\n# 3. Performs format-specific analysis\n# 4. Generates markdown report\n\npython scripts\u002Feda_analyzer.py \u003Cfilepath> [output.md]\n```\n\n**Option B: Custom analysis in the conversation**\nBased on the format information from the reference file, perform appropriate analysis:\n\nFor tabular data (CSV, TSV, Excel):\n- Load with pandas\n- Check dimensions, data types\n- Analyze missing values\n- Calculate summary statistics\n- Identify outliers\n- Check for duplicates\n\nFor sequence data (FASTA, FASTQ):\n- Count sequences\n- Analyze length distributions\n- Calculate GC content\n- Assess quality scores (FASTQ)\n\nFor images (TIFF, ND2, CZI):\n- Check dimensions (X, Y, Z, C, T)\n- Analyze bit depth and value range\n- Extract metadata (channels, timestamps, spatial calibration)\n- Calculate intensity statistics\n\nFor arrays (NPY, HDF5):\n- Check shape and dimensions\n- Analyze data type\n- Calculate statistical summaries\n- Check for missing\u002Finvalid values\n\n### Step 4: Generate Comprehensive Report\n\nCreate a markdown report with the following sections:\n\n#### Required Sections:\n1. **Title and Metadata**\n   - Filename and timestamp\n   - File size and location\n\n2. **Basic Information**\n   - File properties\n   - Format identification\n\n3. **File Type Details**\n   - Format description from reference\n   - Typical data content\n   - Common use cases\n   - Python libraries for reading\n\n4. **Data Analysis**\n   - Structure and dimensions\n   - Statistical summaries\n   - Quality assessment\n   - Data characteristics\n\n5. **Key Findings**\n   - Notable patterns\n   - Potential issues\n   - Quality metrics\n\n6. **Recommendations**\n   - Preprocessing steps\n   - Appropriate analyses\n   - Tools and methods\n   - Visualization approaches\n\n#### Template Location\nUse `assets\u002Freport_template.md` as a guide for report structure.\n\n### Step 5: Save Report\n\nSave the markdown report with a descriptive filename:\n- Pattern: `{original_filename}_eda_report.md`\n- Example: `experiment_data.fastq` → `experiment_data_eda_report.md`\n\n## Detailed Format References\n\nEach reference file contains comprehensive information for dozens of file types. To find information about a specific format:\n\n1. Identify the category from the extension\n2. Read the appropriate reference file\n3. Search for the section heading matching the extension (e.g., \"### .pdb\")\n4. Extract the format information\n\n### Reference File Structure\n\nEach format entry includes:\n- **Description:** What the format is\n- **Typical Data:** What it contains\n- **Use Cases:** Common applications\n- **Python Libraries:** How to read it (with code examples)\n- **EDA Approach:** Specific analyses to perform\n\n**Example lookup:**\n```markdown\n### .pdb - Protein Data Bank\n**Description:** Standard format for 3D structures of biological macromolecules\n**Typical Data:** Atomic coordinates, residue information, secondary structure\n**Use Cases:** Protein structure analysis, molecular visualization, docking\n**Python Libraries:**\n- `Biopython`: `Bio.PDB`\n- `MDAnalysis`: `MDAnalysis.Universe('file.pdb')`\n**EDA Approach:**\n- Structure validation (bond lengths, angles)\n- B-factor distribution\n- Missing residues detection\n- Ramachandran plots\n```\n\n## Best Practices\n\n### Reading Reference Files\n\nReference files are large (10,000+ words each). To efficiently use them:\n\n1. **Search by extension:** Use grep to find the specific format\n   ```python\n   import re\n   with open('references\u002Fchemistry_molecular_formats.md', 'r') as f:\n       content = f.read()\n       pattern = r'### \\.pdb[^#]*?(?=###|\\Z)'\n       match = re.search(pattern, content, re.IGNORECASE | re.DOTALL)\n   ```\n\n2. **Extract relevant sections:** Don't load entire reference files into context unnecessarily\n\n3. **Cache format info:** If analyzing multiple files of the same type, reuse the format information\n\n### Data Analysis\n\n1. **Sample large files:** For files with millions of records, analyze a representative sample\n2. **Handle errors gracefully:** Many scientific formats require specific libraries; provide clear installation instructions\n3. **Validate metadata:** Cross-check metadata consistency (e.g., stated dimensions vs actual data)\n4. **Consider data provenance:** Note instrument, software versions, processing steps\n\n### Report Generation\n\n1. **Be comprehensive:** Include all relevant information for downstream analysis\n2. **Be specific:** Provide concrete recommendations based on the file type\n3. **Be actionable:** Suggest specific next steps and tools\n4. **Include code examples:** Show how to load and work with the data\n\n## Examples\n\n### Example 1: Analyzing a FASTQ file\n\n```python\n# User provides: \"Analyze reads.fastq\"\n\n# 1. Detect file type\nextension = '.fastq'\ncategory = 'bioinformatics_genomics'\n\n# 2. Read reference info\n# Search references\u002Fbioinformatics_genomics_formats.md for \"### .fastq\"\n\n# 3. Perform analysis\nfrom Bio import SeqIO\nsequences = list(SeqIO.parse('reads.fastq', 'fastq'))\n# Calculate: read count, length distribution, quality scores, GC content\n\n# 4. Generate report\n# Include: format description, analysis results, QC recommendations\n\n# 5. Save as: reads_eda_report.md\n```\n\n### Example 2: Analyzing a CSV dataset\n\n```python\n# User provides: \"Explore experiment_results.csv\"\n\n# 1. Detect: .csv → general_scientific\n\n# 2. Load reference for CSV format\n\n# 3. Analyze\nimport pandas as pd\ndf = pd.read_csv('experiment_results.csv')\n# Dimensions, dtypes, missing values, statistics, correlations\n\n# 4. Generate report with:\n# - Data structure\n# - Missing value patterns\n# - Statistical summaries\n# - Correlation matrix\n# - Outlier detection results\n\n# 5. Save report\n```\n\n### Example 3: Analyzing microscopy data\n\n```python\n# User provides: \"Analyze cells.nd2\"\n\n# 1. Detect: .nd2 → microscopy_imaging (Nikon format)\n\n# 2. Read reference for ND2 format\n# Learn: multi-dimensional (XYZCT), requires nd2reader\n\n# 3. Analyze\nfrom nd2reader import ND2Reader\nwith ND2Reader('cells.nd2') as images:\n    # Extract: dimensions, channels, timepoints, metadata\n    # Calculate: intensity statistics, frame info\n\n# 4. Generate report with:\n# - Image dimensions (XY, Z-stacks, time, channels)\n# - Channel wavelengths\n# - Pixel size and calibration\n# - Recommendations for image analysis\n\n# 5. Save report\n```\n\n## Troubleshooting\n\n### Missing Libraries\n\nMany scientific formats require specialized libraries:\n\n**Problem:** Import error when trying to read a file\n\n**Solution:** Provide clear installation instructions\n```python\ntry:\n    from Bio import SeqIO\nexcept ImportError:\n    print(\"Install Biopython: uv pip install biopython\")\n```\n\nCommon requirements by category:\n- **Bioinformatics:** `biopython`, `pysam`, `pyBigWig`\n- **Chemistry:** `rdkit`, `mdanalysis`, `cclib`\n- **Microscopy:** `tifffile`, `nd2reader`, `aicsimageio`, `pydicom`\n- **Spectroscopy:** `nmrglue`, `pymzml`, `pyteomics`\n- **General:** `pandas`, `numpy`, `h5py`, `scipy`\n\n### Unknown File Types\n\nIf a file extension is not in the references:\n\n1. Ask the user about the file format\n2. Check if it's a vendor-specific variant\n3. Attempt generic analysis based on file structure (text vs binary)\n4. Provide general recommendations\n\n### Large Files\n\nFor very large files:\n\n1. Use sampling strategies (first N records)\n2. Use memory-mapped access (for HDF5, NPY)\n3. Process in chunks (for CSV, FASTQ)\n4. Provide estimates based on samples\n\n## Script Usage\n\nThe `scripts\u002Feda_analyzer.py` can be used directly:\n\n```bash\n# Basic usage\npython scripts\u002Feda_analyzer.py data.csv\n\n# Specify output file\npython scripts\u002Feda_analyzer.py data.csv output_report.md\n\n# The script will:\n# 1. Auto-detect file type\n# 2. Load format references\n# 3. Perform appropriate analysis\n# 4. Generate markdown report\n```\n\nThe script supports automatic analysis for many common formats, but custom analysis in the conversation provides more flexibility and domain-specific insights.\n\n## Advanced Usage\n\n### Multi-File Analysis\n\nWhen analyzing multiple related files:\n1. Perform individual EDA on each file\n2. Create a summary comparison report\n3. Identify relationships and dependencies\n4. Suggest integration strategies\n\n### Quality Control\n\nFor data quality assessment:\n1. Check format compliance\n2. Validate metadata consistency\n3. Assess completeness\n4. Identify outliers and anomalies\n5. Compare to expected ranges\u002Fdistributions\n\n### Preprocessing Recommendations\n\nBased on data characteristics, recommend:\n1. Normalization strategies\n2. Missing value imputation\n3. Outlier handling\n4. Batch correction\n5. Format conversions\n\n## Resources\n\n### scripts\u002F\n- `eda_analyzer.py`: Comprehensive analysis script that can be run directly or imported\n\n### references\u002F\n- `chemistry_molecular_formats.md`: 60+ chemistry\u002Fmolecular file formats\n- `bioinformatics_genomics_formats.md`: 50+ bioinformatics formats\n- `microscopy_imaging_formats.md`: 45+ imaging formats\n- `spectroscopy_analytical_formats.md`: 35+ spectroscopy formats\n- `proteomics_metabolomics_formats.md`: 30+ omics formats\n- `general_scientific_formats.md`: 30+ general formats\n\n### assets\u002F\n- `report_template.md`: Comprehensive markdown template for EDA reports\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FK-Dense-AI\u002Fclaude-scientific-skills\u002Fexploratory-data-analysis",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill exploratory-data-analysis",{"tool":41,"command":42},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill exploratory-data-analysis",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill exploratory-data-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FK-Dense-AI\u002Fclaude-scientific-skills\u002Fexploratory-data-analysis\u002FSKILL.md",true,[],[50,59,68,77,83,89],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":22},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[56,57,58],"model","model hierarchy","model hierarchy skill",{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":22},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[65,66,67],"MCP","zoom","zoom mcp",{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":22},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[74,75,76,66],"sdk","zoom apps sdk","apps",{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":22},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[79],{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":22},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[85],{"skillNo":90,"name":91,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":22},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[91]]