Bio::SeqFeature::Generic use Bio::Seq; use Bio::SeqFeature::Generic; my $seqobj = Bio::Seq->new(-display_id => my_id , -seq => ACGTACAGTACAGTACTAGAAACGTA ); my $feat = new Bio::SeqFeature::Generic (-start => 5, -end => 15,-strand => -1, -primary_tag => repeat , -display_name => alu family , -tag=>{ test=>[1,2,3], author=> someone } ); $seqobj->add_SeqFeature($feat); my @features = $seqobj->get_SeqFeatures(); foreach my $feat ( @features ) { print Feature ,$feat->primary_tag, starts ,$feat->start, ends , $feat->end, strand ,$feat->strand, \n ; print Feature sequence is ,$feat->seq->seq(), \n ; foreach my $tag ( $feat->get_all_tags() ) { print \t ,$tag, \n ; foreach my $value ( $feat->each_tag_value($tag) ) { print \t\t ,$value, \n ; } repeat test author someone 1 2 3 primary_tag tagtag valuetagtag value