import React from 'react'; import { ArrowDown, ArrowRight, ArrowUp } from 'lucide-react'; const SingleCellPipeline = ({ title = "Bioinformatics Pipeline", leftSteps = [ "Raw Sequencing Data (fastq files)", "Quality Control and Preprocessing of Data", "High Quality Sequencing Data (fastq file)", "Alignment to Reference Genome", "Transcript and Gene Expression Profiling" ], rightSteps = [ "Downstream Advanced Analysis", "GO/KEGG Enrichment", "Differential Expression Profiling", "Cell Clustering Cell definition (SingleR)", "Cell filter and Data Normalisation" ], 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 SingleCellPipeline;