Help for this page

Select Code to Download


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