Skip to content
Snippets Groups Projects
Commit b8aec505 authored by Valentina Galata's avatar Valentina Galata
Browse files

report: fixed a bug in rule collecting cdhit results

parent cf5125be
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ rule collect_cdhit:
for f in {input}
do
f_bname=$(basename -s '.faa' ${{f}})
echo -e \"$(echo ${{f_bname}} | sed 's/__/\\t/' | sed 's/_/\\t/g')\\t$(grep '^>' ${{f}} | wc -l)\"
echo -e \"$(echo ${{f_bname}} | sed 's/__/\\t/' | sed 's/\(sr\|lr\|hy\|hyhy\)_/\\1\\t/g')\\t$(grep '^>' ${{f}} | wc -l)\"
done >> {output}
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment