import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const SRNABioinformatics = ({ title = "Bioinformatics Pipeline", leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Blast Against mRNA, Rfam and RepBase", "Retained data with no annotation and remove data annotated with mRNA, Rfam and RepBase" ], rightSteps = [ "Downstream Advanced Analysis", "Identification of known and Novel microRNA", "Hairpin Prediction", "Aligned to Genome", "Aligned to Genome" ], 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 && ( )}
))}
{/* 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 from Transcript Assembly to Transcript Assembly Validation */}
); }; export default SRNABioinformatics;