Hi! I'm trying to perform a multiple alignment with bowtie2. In particular I'm looking for a cycle that can execute the alignment of more fastq files into sam files.
I try this shell code
for i in $(path_to_my_fastq_file/*.fastq)
do
bowtie2 -p4- -x hg19 path_to_my_fastq_file/*.fastq ${i}.fastq -S $i.sam
done
but I receive this error
bash: path_to_my_fastq_file.file.fistq permission denied
How can I resolve this?
Thanks in advance
......... -q $i -S $i.sam instead of: