When you discover that you want to do similar things for a number of related data structures, this indicates that they should be members of a larger data structure. In this case, you can put all arrays in a hash:
my %dataset = (
identifiers => [],
sequences => [],
optional_info => [],
quality_scores => [],
barcodes => [],
);
if ( /MATCH/ ) {
splice @$_, $i, 1 for values %dataset;
}
, @ikegami , , . , - , , quality_scores 30 70, ( ) ( .
,
my %dataset = (
id0 => {
t => '...',
id => '...',
sequence => '...',
optional_info => '...',
quality_score => '...',
barcoode => '...',
},
idn => {
t => '...',
id => '...',
sequence => '...',
optional_info => '...',
quality_score => '...',
barcoode => '...',
},
);
, ( , t).