Hi, I read the paper (https://www.nature.com/articles/s41467-021-22720-0) using bowtie2 for ATAC-seq read alignment, and find the question about pre-alignments. Does anyone know how to use pre-alignments? I don't know how to use the output of pre-alignments by bowtie2 as an input file for alignments.
Following sentence is their protocol.
Bowtie2 was applied for pre-alignments to filter out reads that align to repetitive regions using “-k 1 -D 20 -R 3 -N 1 -L 20 -i S,1,0.50 -X 2000 –rg-id” parameters. For the remaining reads, Bowtie2 was used to map to GRCh38 with “–very-sensitive -X 2000–rg-id” options.
Thanks in advance
Thanks, GenoMax. Do you know how to use the output of pre-alignments by bowtie2 as an input file for alignments like below? Or Should I use some package like SamToFastq and use this output for 2nd round bowtie2?
Run exactly as shown above in two steps. Run first command to create
pre.sam
file, which is then used in the second command. So you will have to let command 1 complete before you start #2.I got error at 2nd script. Could you suggest any idea?