import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const HybridSequencingPipeline = ({ title = "Hybrid Sequencing", leftSteps = [ "Raw Sequencing Data from Short Read (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Assembly of reads" ], rightSteps = [ "Annotation & Downstream Advanced Analysis", "Scaffolds of the genome", "Contigs from short reads and mapped to long reads", "Genome Assembly (Contigs from short reads)" ], backgroundColor = "bg-gray-50", cardColor = "bg-blue-200", textColor = "text-blue-800", arrowColor = "text-gray-600", className = "", cardClassName = "", titleClassName = "" }) => { return (

{title}

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

{step}

{index < leftSteps.length - 1 && ( )}
))} {/* Right side steps in reverse order */} {[...rightSteps].reverse().map((step, index) => (

{step}

{index < rightSteps.length - 1 && ( )}
))} {/* Long Read Data Box for mobile */}

Raw Sequencing Data from Long Read (fastq file)

↑ connects to Scaffolds & Contigs
{/* Desktop Layout - Two Columns with Long Read positioned correctly */}
{/* Left Column */}
{leftSteps.map((step, index) => (

{step}

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

{step}

{index < rightSteps.length - 1 && ( )}
))}
{/* Horizontal Arrow from Assembly of reads to Genome Assembly */}
{/* Long Read Data Box positioned to the right of Genome Assembly (same level) */}

Raw Sequencing Data from Long Read (fastq file)

{/* Direct vertical line and arrow to Scaffolds */}
); }; export default HybridSequencingPipeline;