That's fixed it - great thank you!
• 0 views
•
link
I'm having trouble setting up a for loop with BUSCO - I can't see any syntax errors, but I keep getting an error message reporting one. Can anyone see what the issue is?
nohup for i in $(cat BUSCO_list.txt); do busco -m genome -i ../DNA/${i} -o ${i}.BUSCO -l ~/Fusarium_data/Raw_Genomes/BUSCO/sordariomycetes_odb10 ; done &
bash: syntax error near unexpected token `do'
https://stackoverflow.com/questions/3099092/why-cant-i-use-unix-nohup-with-bash-for-loop
In addition, tmux or screen are much better alternatives to nohup. If you are in a cluster environment, you should probably use the queue manager designed by the system administrators
That's fixed it - great thank you!
Log in to answer this question.