Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KateSakharova committed Jan 16, 2025
1 parent 8e9f46e commit 883d47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/plot_contig_map/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process PLOT_CONTIG_MAP {
"""
# get only contig IDs that have at least one annotation hit
cat ${tab} | sed 's/|/VIRIFY/g' > virify.tmp
IDS=\$(awk 'BEGIN{FS="\\t"};{if(\$6!="No hit"){print \$1}}' virify.tmp | sort | uniq | grep -v Contig)
export IDS=\$(awk 'BEGIN{FS="\\t"};{if(\$6!="No hit"){print \$1}}' virify.tmp | sort | uniq | grep -v Contig)
head -1 ${tab} > ${set_name}_prot_ann_table_filtered.tsv
for ID in \$IDS; do
awk -v id="\$ID" '{if(id==\$1){print \$0}}' virify.tmp >> ${set_name}_prot_ann_table_filtered.tsv
Expand Down

0 comments on commit 883d47b

Please sign in to comment.