import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const IsoformPipeline = ({ title = "Bioinformatics Pipeline", leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Build Similarity Graph and Polishing" ], rightSteps = [ "Downstream Analysis (Fusion Analysis, Splicing Analysis)", "Transcript Annotation and Classification", "Sequencing Merge and Redundancy Removal", "Alignment to Reference 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 && ( )}
))}
{/* Diagonal Arrow from High Quality Sequencing Data to Alignment to Reference Genome */}
); }; export default IsoformPipeline;