Entering edit mode
3.7 years ago
jellila
•
0
Hi all. I am trying to write a for loop in bash. The goal is to create a directory with the same name of the input file for the command and use it as output folder for the same command. I came up with this:
for i in *.fasta; do mkdir /Users/laura/bio/insilicoseq/$i; iss generate --draft /Users/laura/bio/Assemblies/fasta/*.fasta --model miseq --output /Users/laura/bio/insilicoseq/${i} --cpus 8 --n_reads 1267000; done
the directory is created but the iss generate command saves the output in the 'insilicoseq' folder.
Could anyone help me please?
Thanks,
Laura