Skip to content

breseq-ext-cnv usage #1

Description

@gabypetrungaro

Hi @p3rao ,
I am trying to use breseq-ext-cnv to analyse my coverage tables created with BAM2COV. Basically, I am interested in using the software for detecting amplifications and deletions that do not appear in my Breseq output tables.

I have managed to install the software and run the help command. However, I don't quite understand how to use it, or what the different optional parameters are used for:

  1. Could you maybe shortly explain what the python software does? I think with a brief explanation I could interpret the optional parameters better to understand what values of those (e.g. Window and Step size) I should choose for my samples.
  2. I failed my first tries to run the software and I don't understand why... I added values for -ori and -ter when I first got this error, but doesn't seem to have changed anything:
$breseq-ext-cnv -i ./input/CP009273\:1-4631469.tab -ori 0 -ter 4631469

Ori has not been set (default value is None)
Ter has not been set (default value is None)
CP009273:1-4631469.tab: Calculating coverage and GC% across sliding window over the genome.
Traceback (most recent call last):
  File "/home/gaby/spyder-env/bin/breseq-ext-cnv", line 8, in <module>
    sys.exit(main())
  File "/home/gaby/spyder-env/lib/python3.10/site-packages/breseq_ext_cnv/get_CNV.py", line 811, in main
    cnv,smpl, ori_win, ter_win = run_HMM(
  File "/home/gaby/spyder-env/lib/python3.10/site-packages/breseq_ext_cnv/get_CNV.py", line 459, in run_HMM
    df, ori_loc, ter_loc = bias_correction(filepath, output, ori, ter, enforce, win, step, frag)
  File "/home/gaby/spyder-env/lib/python3.10/site-packages/breseq_ext_cnv/get_CNV.py", line 544, in bias_correction
    df = preprocess(filepath, win, step, frag)
  File "/home/gaby/spyder-env/lib/python3.10/site-packages/breseq_ext_cnv/get_CNV.py", line 21, in preprocess
    if (step > win) :
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

Thank you in advance for your help,
Kind regards,
Gabriela (Senior Postdoc at University of Cologne)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions