Skip to content

Issue loading some spectra. #3

@Bdegraaf1234

Description

@Bdegraaf1234

I am finding quite a lot of errors like these:

out of range errors:

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 10000) >= this->size() (which is 10000)
Aborted (core dumped)
terminate called after throwing an instance of 'std::out_of_range'
free(): invalid size
Aborted (core dumped)

in addition; I have found that I am not able to set the number of iterations using the -i flag

.../msCRUSH/bin$ ./mscrush_on_general_charge -f test.mgf -c .../default_settings -i 2000
--Output HyperParams Begins--
<bool> peak intensity log normalized: Yes
<bool> remove precursor peak: Yes
<float> precursor mass tolerance(Da): 0.05
<float> max peak mz: 2000
<float> min peak mz: 200
<float> min cosine sim for clustering: 0.65
<float> mz scale after nomrlization: 1000
<float> fragment precision: 0.8
<float> shared peak mz eps: 0.2
<int> clustering iteration: 100
<int> hash functions per hash table: 15
<int> hash function dimension: 2251
<int> topK strongest peaks per bin: 5
<int> threads to use: 20
<int> window(bin) size: 100
<string> consensus spectra file prefix: consensus
<string> clustering result file prefix: .../default_settings
--Output HyperParams Ends--

This is on Windows subsystem Linux, where I have been able to run the clustering algorithm and consnsus file generation for other files. Do you have any idea what the problem is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions