Question: cuffdiff error "number of labels must match number of conditions"
gravatar for Bioiris
4.3 years ago by
Bioiris0 wrote:

Hello, I use cuffdiff qualification of 20 .bam files

in my snakemake, I have

cuffdiff rule:

     input: bam = expand ( "output / bam / smp {} .bam" smp = config ["samples"] split ().)

     output: "output / cuffdiff / done"

     params: gtf = config [ "gtf"], args = config [ "cuffdiff"] [ "args"] = labels config ["samples"] split ().

     Threads: config [ "cuffdiff"] [ "threads"]

     message: "" "--- cuffdiff contifiquation." ""

     shell: """

 cuffdiff -p {threads} -o {output} -L  {input.bam} {params.gtf} {input.bam}

 touch {output} """

but, i have this error

"" "You are using Cufflinks v2.2.1, qui est The Most recent release.

Error: number of labels must match number of conditions' ""

can anyone help me ??

thank you in advance

rna-seq • 3.6k views
ADD COMMENTlink modified 3.0 years ago by Biostar ♦♦ 20 • written 4.3 years ago by Bioiris0

See this error in cuffdiff ---(mutiple sample comparision) for how to specify labels for the conditions being compared. If you have only one condition (control, test) then there will be two labels.

ADD REPLYlink modified 4.3 years ago • written 4.3 years ago by genomax92k

Please post the actual command used.

ADD REPLYlink written 4.3 years ago by igor11k

Previously I also faced this problem and a solution given in this thread by Devon Ryan solved it.

ADD REPLYlink modified 3.0 years ago • written 3.0 years ago by rice.researcher150
Please log in to add an answer.


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