import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const GenomeMappingPipeline = ({ title = "Bioinformatics Pipeline", leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Alignment to Reference Genome" ], rightSteps = [ "Evolutionary Analysis", "Annotation", "Variants Calling - structural variants and genomic rearrangements", "Post-Processing" ], 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, ...rightSteps.slice().reverse()]; return (

{title}

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

{step}

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

{step}

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

{step}

{index < rightSteps.length - 1 && ( )}
))}
{/* Horizontal Arrow positioned between Primary and Secondary Assembly */}
); }; export default GenomeMappingPipeline;