import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const DegradomeSequencingPipeline = ({ title = "Degradome Sequencing", backgroundColor = "bg-gray-50", cardColor = "bg-blue-200", textColor = "text-gray-800", arrowColor = "text-gray-600", className = "", cardClassName = "", titleClassName = "" }) => { const leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Alignment to Reference Genome" ]; const rightSteps = [ "Related miRNA Identification", "mRNAs Degradome Sites", "Identify Target mRNAs", "Retain mRNA data Remove rRNA, tRNA and other RNA" ]; const middleSteps = [ "Functional Analysis" ]; return (

{title}

{/* Pipeline Flowchart */}
{/* Mobile Layout - Single Column */}
{[...leftSteps, ...rightSteps.slice().reverse(), ...middleSteps].map((step, index) => (

{step}

{index < leftSteps.length + rightSteps.length + middleSteps.length - 1 && ( )}
))}
{/* Desktop Layout - Complex Flow */}
{/* Left Column */}
{leftSteps.map((step, index) => (

{step}

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

{step}

))}
{/* Right Column */}
{rightSteps.map((step, index) => (

{step}

{index < rightSteps.length - 1 && ( )}
))}
{/* Horizontal Arrow from left to right (after alignment) */}
{/* Bidirectional arrows between middle and right columns */}
{/* Additional arrows for the circular flow in right column */}
); }; export default DegradomeSequencingPipeline;