Extract row barcodes based on command-line specification