bowtie mate 2 error
1
0
Entering edit mode
3.8 years ago
Morris_Chair ▴ 360

Hello everyone,

I'm working on ChIP-seq files and I'm getting this type of error

mem: invalid option -- '2'

here is the code :

bwa mem hg38.fa -1 R1_001.fastq.gz -2 R2_001.fastq.gz | samtools sort > file.bam

I'm working on paired end ChIP-seq experiment so I have to use both files, I'm new to it so I wonder also if I have to unzip first ,

thank you for you support

ChIP-Seq • 646 views
ADD COMMENT
2
Entering edit mode

The current version of bwa mem does not have any -1 or -2 option.

bwa mem [options] <idxbase> <in1.fq> [in2.fq]

ADD REPLY
1
Entering edit mode
3.8 years ago
h.mon 35k

You are mixing up bowtie2 and bwa mem: you are calling bwa mem, but -1 and -2 are bowtie / bowtie2 arguments.

ADD COMMENT

Login before adding your answer.

Traffic: 1398 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6