From 5b867894f164d9fa3fbc1a8e659b34890b977716 Mon Sep 17 00:00:00 2001 From: Bo Li Date: Tue, 18 Oct 2011 22:35:34 -0500 Subject: [PATCH] rsem v1.1.12 extract-transcript-to-gene-map-from-trinity changed --- extract-transcript-to-gene-map-from-trinity | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extract-transcript-to-gene-map-from-trinity b/extract-transcript-to-gene-map-from-trinity index e04e993..260cd83 100755 --- a/extract-transcript-to-gene-map-from-trinity +++ b/extract-transcript-to-gene-map-from-trinity @@ -20,9 +20,9 @@ while (substr($tag, 0, 1) eq ">") { } if ($cnt == 0) { print "Warning: Fasta entry $tag has an empty sequence, it is omitted.\n"; } else { - my ($tid, $gid) = split(/ /, $tag); - my ($comp, $c, @tmp) = split(/_/, $gid); - $gid = join("_", $comp, $c); + my ($tid, @tmp) = split(/ /, $tag); + my ($comp, $c, @tmp) = split(/_/, $tag); + my $gid = join("_", $comp, $c); print OUTPUT "$gid\t$tid\n"; } $tag = $line; chomp($tag); -- 2.39.2