Question: cuffdiff error "number of labels must match number of conditions"
0
gravatar for Bioiris
18 months ago by
Bioiris0
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 • 1.3k views
ADD COMMENTlink modified 3 months ago by Biostar ♦♦ 20 • written 18 months 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 18 months ago • written 18 months ago by genomax42k

Please post the actual command used.

ADD REPLYlink written 18 months ago by igor5.2k

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

ADD REPLYlink modified 3 months ago • written 3 months ago by rice.researcher80
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: 927 users visited in the last hour