I did.
for i in /media/usr/Elements/usr/Extracted_SB_reads/C1DNA.extrSB/*.fq
do
bowtie2 --sensitive-local -p8 -x /media/usr/Elements/usr/bowtie2_index/hg19/ -U ${i}.fq -S $i.sam
done
and now it says:
(ERR): bowtie2-align exited with value 1
stat: Bad file descriptor
Warning: Could not open read file "/media/usr/Elements/usr/Extracted_SB_reads/C1DNA.extrSB/V300054326_L4_B5GHUMvudRAABGAAA-556.SB.fq.fq" for reading; skipping...
Error: No input read files were valid
(ERR): bowtie2-align exited with value 1
actually there are 2 file extensions inside the folder .SB.fq and .SB2.fq how to include both the extensions ?
Do you have your
bowtie2indices for all the reads files already? Or do you want to map them against the same index? Could you show us the output oflson the directory where your reads are contained?These are reads extracted for a transposon and guideRNA. They have to be aligned to the human genome to determine the genomic location of their insertion.