- or download this
my @fasta_objs =();
...
push @fasta_objs,$seqFile1->seq;
...
$fasta->write_seq($seqFile2) if (grep {$_ eq $seqFile2->seq} @fasta_ob
+js);
- or download this
my %fasta_objs =();
...
++$fasta_objs{$seqFile1->seq};
...
$fasta->write_seq($seqFile2) if exists $fasta_objs{$seqFile2->seq};
- or download this
++$fasta_objs{$seqFile1->seq};
- or download this
$fasta_objs{$seqFile1->seq} = $header;
- or download this
seq => [header1, header2, ...]
- or download this
# Comment explaining why you're doing this
no strict 'refs';
... small piece of code here ...
use strict 'refs';