Changeset 206
- Timestamp:
- 04/24/09 17:41:35 (7 months ago)
- Files:
-
- README (modified) (2 diffs)
- bin/add_utr_gff.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
README
r199 r206 504 504 add_utr_gff.pl with the following command: 505 505 506 maker2zff.pl <directory>506 add_utr_gff.pl <directory> 507 507 508 508 * <directory> is the directory where all of your GFF files are … … 538 538 maker2zff.pl <directory> genome 539 539 540 * <directory> isthe directory where all of your GFF3 files are540 * <directory> a the directory where all of your GFF3 files are 541 541 located 542 542 * geneome is the name for the outfile bin/add_utr_gff.pl
r205 r206 38 38 if ($tag eq "mRNA") { 39 39 my @id = $feature->get_tag_values('ID'); 40 my $id = (split(/\s+/, $id[0]->as_text))[1];40 my $id = $id[0]; 41 41 my @name = $feature->get_tag_values('Name'); 42 my $name = (split(/\s+/, $name[0]->as_text))[1];42 my $name = $name[0]; 43 43 $id2name{$id} = $name; 44 44 $strand{$name} = $feature->strand; … … 46 46 my @parents = $feature->get_tag_values('Parent'); 47 47 foreach my $p (@parents) { 48 my $pid = (split(/\s+/, $p->as_text))[1];48 my $pid = $p; 49 49 my $pname = $id2name{$pid}; 50 50 $strand{$pname} = $feature->strand; … … 54 54 my @parents = $feature->get_tag_values('Parent'); 55 55 foreach my $p (@parents) { 56 my $pid = (split(/\s+/, $p->as_text))[1];56 my $pid = $p; 57 57 my $pname = $id2name{$pid}; 58 58 push @{$exons{$pname}}, ($start, $end);
