Skip to content

QuantitativeTrack crashing with "TypeError: this.ranges.map is not a function" #4168

Closed Answered by lyijin
lyijin asked this question in Q&A
Discussion options

You must be logged in to vote

sorry, i found the answer. i'll keep my question & answer up just in case others run into the same problem.

my suspicion was correct, the ordering of chromosomes was the problem (biggest hint was chr1 working but anything after that didn't). to solve this: EVERYTHING has to be alphabetically sorted (not numerical sorted).

  1. genome has to be alphabetically sorted.
$ grep '^>' grch38p13_lambda_puc.fa
>chr1
>chr10
>chr11
>chr12
>chr13
>chr14
>chr15
>chr16
>chr17
>chr18
>chr19
>chr2
>chr20
>chr21
>chr22
>chr3
>chr4
>chr5
>chr6
>chr7
>chr8
>chr9
>chrM
>chrX
>chrY
>lambda
>pUC19
  1. bigWigs are internally alphabetically sorted in column 1, but numerically sorted in columns 2, 3. if you convert a b…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cmdcolin
Comment options

@lyijin
Comment options

Answer selected by lyijin
Comment options

You must be logged in to vote
1 reply
@cmdcolin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants