Skip to content

Commit

Permalink
gffcompare: Fix problem with repeat class code
Browse files Browse the repository at this point in the history
Added an additional check to check if the transcript class code is not a repeat ("-r"). Otherwise it introduces an empty gene_id ("-"), breaking the RESTORE_BIOTYPE step.
  • Loading branch information
Nicolaï Hoffmann committed May 31, 2024
1 parent 200c1ac commit d802405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gffcompare/gffcompare.nf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ process GFFCOMPARE {
awk 'BEGIN{
while(getline<"gffcmp.tracking">0){
if ($4 !="u"){
if ($4 !="u" && $4 !="r"){
split($3,gn,"|");
split($5,tx,"|");
final["\\""tx[2]"\\";"]="\\""gn[1]"\\";"
Expand Down

0 comments on commit d802405

Please sign in to comment.