Closed dawe closed 4 years ago
Can you check that the hic file is valid, e.g. by loading it into Juicebox? Also make sure the variable $i is actually getting replaced by the file name.
On Mon, Mar 23, 2020 at 2:12 PM Davide Cittaro notifications@github.com wrote:
Describe the bug straw aborts for a stoi issue
To Reproduce I have compiled straw on my Mac (tried also with the binary version distributed here) and run it on .hic data provided by a collaborator
$ ~/src/straw/C++/straw NONE $i 19 19 10000 BP libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: stoi: no conversion
Desktop (please complete the following information):
$ uname -a Darwin C0004398.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2EW6RE4XKOTPBF5B3FDDRI6RBDANCNFSM4LSCJXXA .
-- Neva Cherniavsky Durand, Ph.D. Pronouns: she, her, hers Assistant Professor, Aiden Lab www.aidenlab.org
The file can be loaded in Juicebox and the variable is correctly substituted. Since this is the first time I use straw, does dumping matrix from juicebox produces the same results?
Solved. the last two arguments were swapped (10000 BP in place of BP 10000). It works
Describe the bug straw aborts for a
stoi
issueTo Reproduce I have compiled straw on my Mac (tried also with the binary version distributed here) and run it on .hic data provided by a collaborator
Desktop (please complete the following information):