import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const MetatranscriptomicsPipeline = ({ title = "Metatranscriptomics", backgroundColor = "bg-gray-50", cardColor = "bg-blue-200", textColor = "text-blue-800", arrowColor = "text-gray-600", className = "", cardClassName = "", titleClassName = "" }) => { const topSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control", "High Quality Sequencing Data (fastq file)", "Retain mRNA reads and remove rRNA Reads" ]; const bottomLeftSteps = [ "Reference Genome Alignment", "Gene Expression Analysis", "Differential Analysis" ]; const bottomCenterSteps = [ "Transcript Assembly", "Structural Identification", "SNPs, SSRs Analysis eQTLs Analysis" ]; const bottomRightSteps = [ "Functional Annotation", "Statistical Analysis" ]; return (

{title}

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

{step}

{index < topSteps.length - 1 && ( )}
))} {/* Bottom sections for mobile */}
{bottomLeftSteps.map((step, index) => (

{step}

{index < bottomLeftSteps.length - 1 && ( )}
))} {bottomCenterSteps.map((step, index) => (

{step}

{index < bottomCenterSteps.length - 1 && ( )}
))} {bottomRightSteps.map((step, index) => (

{step}

{index < bottomRightSteps.length - 1 && ( )}
))}
{/* Desktop Layout */}
{/* Top vertical sequence */}
{topSteps.map((step, index) => (

{step}

{index < topSteps.length - 1 && ( )}
))}
{/* Branching arrows from "Retain mRNA reads and remove rRNA Reads" */}
{/* Left branch arrow */}
{/* Right branch arrow */}
{/* Bottom three columns */}
{/* Left Column */}
{bottomLeftSteps.map((step, index) => (

{step}

{index < bottomLeftSteps.length - 1 && ( )}
))}
{/* Center Column */}
{bottomCenterSteps.map((step, index) => (

{step}

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

{step}

{index < bottomRightSteps.length - 1 && ( )}
))}
{/* Horizontal arrows connecting bottom sections */}
); }; export default MetatranscriptomicsPipeline;