import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const EpigenomicsPipeline = ({ title = "Bioinformatics Pipeline", leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Aligned to Reference Genome" ], middleSteps = [ "Downstream Advanced Analysis", "DMR Annotation", "DMR Identification", "Peak Calling" ], rightSteps = [ "Distribution in genes & repeats", "Methylated Distribution", "Motif Identification", "Relationship with gene expression", "Go clustering", "Pathway analysis" ], backgroundColor = "bg-gray-50", cardColor = "bg-gray-300", textColor = "text-teal-600", arrowColor = "text-gray-600", className = "", cardClassName = "", titleClassName = "" }) => { // Combine steps for mobile layout const mobileSteps = [...leftSteps, ...middleSteps, ...rightSteps]; return (

{title}

{/* Pipeline Flowchart */}
{/* Mobile Layout - Single Column */}
{mobileSteps.map((step, index) => (

{step}

{index < mobileSteps.length - 1 && ( )}
))}
{/* Desktop Layout - Three Columns */}
{/* Left Column */}
{leftSteps.map((step, index) => (

{step}

{index < leftSteps.length - 1 && ( )}
))}
{/* Middle Column */}
{middleSteps.map((step, index) => (

{step}

{index < middleSteps.length - 1 && ( )}
))}
{/* Right Column */}
{rightSteps.map((step, index) => (
{step}
))}
{/* Horizontal Arrows */} {/* Arrow from Aligned to Reference Genome to Peak Calling */}
{/* Arrow from DMR Annotation to right box */}
{/* Arrow from Peak Calling to right box */}
); }; export default EpigenomicsPipeline;