Question: Run STAR with 4 fastq files, ERROR
0
gravatar for shangqianwang
2.8 years ago by
shangqianwang0 wrote:

I recently have a problem when I run STAR for the RNAseq alignment. I have 4 fastq files, when I put all into the script and the program indicates like"EXITING: because of fatal INPUT ERROR: number of input files for mate1: 4 is not equal to that for mate2: 1 Make sure that the number of files in --readFilesIn is the same for both mates"

And my script is STAR --genomeDir /Users/Shared/reference/STAR_hg19 --readFilesCommand gunzip -c --readFilesIn PCa10_S6_L001_R1_001.fastq.gz,PCa10_S7_L001_R1_001.fastq.gz,PCa10_S6_L001_R2_001.fastq.gz, PCa10_S7_L001_R2_001.fastq.gz --outFileNamePrefix PCa10_ --runThreadN 14 --outBAMsortingThreadN 4 --outSAMstrandField intronMotif --outFilterIntronMotifs RemoveNoncanonicalUnannotated --outSAMattributes All --outSAMtype BAM SortedByCoordinate

What is the problem?

rna-seq • 4.6k views
ADD COMMENTlink modified 2.8 years ago • written 2.8 years ago by shangqianwang0

Of course! Thank you so much

ADD REPLYlink written 2.8 years ago by shangqianwang0
5
gravatar for genomax
2.8 years ago by
genomax73k
United States
genomax73k wrote:

You are not using correct separation of the file names. Separate group of paired-end mates by a space and multiple R1/R2 files by commas. Try --readFilesIn PCa10_S6_L001_R1_001.fastq.gz,PCa10_S7_L001_R1_001.fastq.gz PCa10_S6_L001_R2_001.fastq.gz,PCa10_S7_L001_R2_001.fastq.gz

ADD COMMENTlink modified 2.8 years ago • written 2.8 years ago by genomax73k

It works. Thank you so much and happy new year!

ADD REPLYlink written 2.8 years ago by shangqianwang0
1

Please accept an answer when it answers your question; this helps the entire community. In this case I did it for you.

ADD REPLYlink modified 2.8 years ago • written 2.8 years ago by Brian Bushnell16k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2380 users visited in the last hour