I have one file of Illumina sequencing reads in which the paired-end reads appear to be merged. Each sequence in the file is 72 bp in length even though the run yielded 36 bp reads with 163 bp max insert size. They do not appear to be tab delimited. This is different from my past experience, in which paired ends are always in two different files.
Each read looks like this:
@DRR000001.2 3060N:7:1:1114:186 length=72
GATATTGGCCTGCAGAAGTTCTTCCTGAAAGATGATGGAAACCTCAGGGGCCGAATATCGGAGAGCAAAAAG
My question is: how do I run this in Bowtie? The following gives me an error:
bowtie indexfile -12 trimmed.fastq pair.sam --al pair.align --un pair.unmapped -l 24 -X 200 --fr -q -t --sam -n 3
because -12 should be two files or a tab delimited file
How do I get this to work?
A little extra info: I got these files from NCBI's SRA database
Now I have a different problem. Here is my code:
./fastq-dump --split-files ~/DRR000001.sra
./fastq_quality_filter -Q33 -q 25 -p 70 -i ~/DRR000001_1.fastq -o ~/natto1_trim.fastq
./fastq_quality_filter -Q33 -q 25 -p 70 -i ~/DRR000001_2.fastq -o ~/natto2_trim.fastq
bowtie-build -f bsubtilisnatto.fasta bsubtilisnatto
bowtie bsubtilisnatto -1 natto1_trim.fastq -2 natto2_trim.fastq pair.sam --al pair.align --un pair.unmapped -l 20 -X 200 --fr -q -t --sam -n 3
Almost nothing will align. I lowered my thresholds down to seedlength=20 and mismatches = 3, and also tried --ff. What's not working?
1 answer
answered my own question:
bowtie won't accept the file format. I had to go back to the SRA toolkit and use the --split-files option.
Log in to answer this question.
Hello from the mountains!
We believe that this post does not fit the main topic of this site.
Solved by OP.
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!