You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printSTDERR"\n\n\tDone. $count_propagated / $total transcript orfs could be propagated to the genome\n\n";
135
+
116
136
exit(0);
117
137
118
138
}
@@ -125,16 +145,19 @@ sub parse_transcript_alignment_info {
125
145
126
146
open (my$fh, $cdna_align_gff3) ordie"Error, cannot open file $cdna_align_gff3";
127
147
while (<$fh>) {
148
+
if (/^\#/) { next; }
128
149
unless (/\w/) { next; }
129
150
151
+
my$line = $_;
152
+
130
153
my@x = split(/\t/);
131
154
my$contig = $x[0];
132
155
my$lend = $x[3];
133
156
my$rend = $x[4];
134
157
my$orient = $x[6];
135
158
my$info = $x[8];
136
159
137
-
$info =~ /Target=(\S+)/ordie"Error, cannot parse ID from $info";
160
+
$info =~ /Target=(\S+)/ordie"Error, cannot parse ID from info [$info] of line $line";
138
161
my$asmbl = $1;
139
162
140
163
my$trans_id = "";
@@ -182,6 +205,8 @@ sub parse_transcript_alignment_info {
182
205
subplace_orf_in_cdna_alignment_context {
183
206
my ($transcript_struct, $orf_gene_obj, $cdna_seq_lengths_href) = @_;
184
207
208
+
#print $orf_gene_obj->toString();
209
+
185
210
my$trans_seq_length = $cdna_seq_lengths_href->{ $transcript_struct->{asmbl} } or confess "Error, no length for " . Dumper($transcript_struct) . " Please be sure to use a cDNA fasta file and not a genome fasta file for your commandline parameter.";
186
211
187
212
@@ -199,10 +224,16 @@ sub place_orf_in_cdna_alignment_context {
0 commit comments