How would you optimize a Python or R pipeline designed to ingest and clean high-throughput genomic data?