Skip to content

Issue about MotifSeq.py. #48

@Goatofmountain

Description

@Goatofmountain

Hi James,
I ran the MotifSeq.py in the example dir of SquiggleKit like this:
python ../MotifSeq.py -p test.fast5 -m CATCTATCCAGGGTTAAATT.model > test_kmer.tsv
And it comes out with the error below:
`**********************************************************

  • z-score, p-value, probability, etc. are based on *
  • preliminary experimental modeling only             *
    
  •            Use at own risk                         *
    

Traceback (most recent call last):
File "../MotifSeq.py", line 520, in
main()
File "../MotifSeq.py", line 153, in main
model, m_order, L = read_bait_model(args.model)
File "../MotifSeq.py", line 420, in read_bait_model
L = int(l[1])
IndexError: list index out of range`

I've tried other ways to seak motif, but it comes out with similar errors. I guess this may be a problem in code assignments.

By the way, I read the script of MotifSeq.py this afternoon and I can not understand how local dtw works in the motif finding process (in the function "get_region_multi"). Is this function aligned the simulated signal of each base in the motif sequence to a segment of the original signal? If so, how can I choose the best alignment location of the motif in the raw signal?

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions