Question: cuffdiff error "number of labels must match number of conditions"
0
gravatar for Bioiris
16 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.1k views
ADD COMMENTlink modified 9 days ago by Biostar ♦♦ 20 • written 16 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 16 months ago • written 16 months ago by genomax37k

Please post the actual command used.

ADD REPLYlink written 16 months ago by igor4.7k

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

ADD REPLYlink modified 9 days ago • written 9 days 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: 945 users visited in the last hour