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
I have many .faa files for protein sequence, and I tried to use "for loop", rush, and parafly to annotate all files automatically, but all failed with Error: Unknown KO: , but for one file annotation, the exec_annotation can work. I don't know how to fix to annotate if I have many files.
Here is my code:
time tail -n+2 result/metadataS.txt|cut -f1|rush -j 10
"exec_annotation -p /home/data/db/KEGG/profiles/
-k /home/data/db/KEGG/ko_list
--cpu 4
-E 1e-5
-f mapper
-o result/kegg_bin/{1}.txt
temp/prodigal_bin/{1}.faa"
or
for i in tail -n+2 result/metadataS.txt|cut -f1
do
echo "exec_annotation -o result/kegg_bin/parafly/$i.txt --cpu 4 --format mapper -E 1e-5 -p /home/data/db/KEGG/profiles/ -k /home/data/db/KEGG/ko_list temp/prodigal_bin/$i.faa"
done > command.exec_annotation.list
ParaFly -c command.exec_annotation.list -CPU 16
The text was updated successfully, but these errors were encountered:
I have many .faa files for protein sequence, and I tried to use "for loop", rush, and parafly to annotate all files automatically, but all failed with Error: Unknown KO: , but for one file annotation, the exec_annotation can work. I don't know how to fix to annotate if I have many files.
Here is my code:
time tail -n+2 result/metadataS.txt|cut -f1|rush -j 10
"exec_annotation -p /home/data/db/KEGG/profiles/
-k /home/data/db/KEGG/ko_list
--cpu 4
-E 1e-5
-f mapper
-o result/kegg_bin/{1}.txt
temp/prodigal_bin/{1}.faa"
or
for i in
tail -n+2 result/metadataS.txt|cut -f1
do
echo "exec_annotation -o result/kegg_bin/parafly/$i.txt --cpu 4 --format mapper -E 1e-5 -p /home/data/db/KEGG/profiles/ -k /home/data/db/KEGG/ko_list temp/prodigal_bin/$i.faa"
done > command.exec_annotation.list
ParaFly -c command.exec_annotation.list -CPU 16
The text was updated successfully, but these errors were encountered: