-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding gem3-mapper to bioconda #9
Comments
Hi @karl616, |
Hi @karl616, What @achacond points out is correct, however not for the v3.6 tagged version. Some patches were pushed as to handle possible cases where some submodule was missing, the hardware was not compatible, etc. I've pushed another tag (v3.6.1) with all the latest commits (also it was about time to do this). Can you try the process again, but now against this new tag? It should do the trick. Cheers, |
Hi @achacond hi @smarco, With regard to CUDA, it might well be that I made a mistake. Starting out I had problems similar to #5. I'm a bit unsure at the moment as I wasn't able to repeat my complications from yesterday. It might have been the missing submodule that played double tricks on me. I will definitely, but that has to wait until tomorrow. Thanks for the support. |
Hi @smarco, the new release worked nicely. Thanks! I made a pull request to bioconda: bioconda/bioconda-recipes#9937 They are asking for references and I'm citing the 2012 paper: https://www.nature.com/articles/nmeth.2221 and your entry on biotools (https://bio.tools/gemmapper). Is this correct? The latter could do with an update though. It is still pointing to sourceforge... :) |
Hi @karl616, Thanks again for the effort to push gem3 into bioconda. Note that this reference https://bio.tools/gemmapper is quite old and we should try to use https://bio.tools/GEM_Mapper if possible. Thanks, |
Hi @smarco,
I agree, I will update that tomorrow.
And you are welcome!
…On Thu, Jul 19, 2018 at 10:22 PM Santiago Marco-Sola < ***@***.***> wrote:
Hi @karl616 <https://github.com/karl616>,
Thanks again for the effort to push gem3 into bioconda. Note that this
reference https://bio.tools/gemmapper is quite old and we should try to
use https://bio.tools/GEM_Mapper if possible.
Thanks,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADsaNZbHLSL-FdJUZj2LZrGXVBQuVcH2ks5uIOptgaJpZM4VQz6q>
.
|
gem3-mapper is now a part of bioconda :) With the bioconda repository activated it can be installed with: |
Hi @smarco,
I can only trace it to the general error handling function, but not beyond this. Does it tell you something? Best, |
Can you give me the complete command line?
El lun., 23 jul. 2018 17:55, Karl Nordström <notifications@github.com>
escribió:
… Hi @smarco <https://github.com/smarco>,
I have a problem with the conda installed version and I suspect it has to
do with missing dependencies. Both gem-mapper and gem-indexer crashes. This
is the error I get from gem-indexer:
2018/7/23 17:48:30 -- [Inspecting MultiFASTA]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> GEM.System.Error::Signal raised (no=4) [errno=0,Success]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I can only trace it to the general error handling function, but not beyond
this. Does it tell you something?
Best,
Karl
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACdvbZ6MIBT8MKmYl8aaoowfYaBIK37iks5uJfHngaJpZM4VQz6q>
.
|
of course:
gem-indexer -i genome.fa -o genome.gem (-b) (-t 1)
the ones within parentheses I tried to toggle to see if it had an impact.
Is there something I can do to get more information?
…On Mon, Jul 23, 2018 at 6:06 PM Santiago Marco-Sola < ***@***.***> wrote:
Can you give me the complete command line?
El lun., 23 jul. 2018 17:55, Karl Nordström ***@***.***>
escribió:
> Hi @smarco <https://github.com/smarco>,
> I have a problem with the conda installed version and I suspect it has to
> do with missing dependencies. Both gem-mapper and gem-indexer crashes.
This
> is the error I get from gem-indexer:
>
> 2018/7/23 17:48:30 -- [Inspecting MultiFASTA]
>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> >> GEM.System.Error::Signal raised (no=4) [errno=0,Success]
>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> I can only trace it to the general error handling function, but not
beyond
> this. Does it tell you something?
>
> Best,
> Karl
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#9 (comment)>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/ACdvbZ6MIBT8MKmYl8aaoowfYaBIK37iks5uJfHngaJpZM4VQz6q
>
> .
>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADsaNVN9l3Lh-uemiTgqtk_nGR0Ngx2Uks5uJfR2gaJpZM4VQz6q>
.
|
It should happen somewhere here, shouldn't it? gem3-mapper/src/archive/builder/archive_builder_text.c Lines 341 to 371 in 12f000a
I have also found a way to reproduce it locally, or at least in a docker image, without having to rely on the bioconda build process... My current suspicion is that the linking is bad and a wild guess is that it has something to do with libgomp. I'll see if I can get closer |
Most likely is an error with the genome.fa format.
Can you compile in debug mode and let me know the output?
make debug
gem-indexer -i genome.fa -o genome.gem
Cheers,
…On Tue, Jul 24, 2018 at 12:30 PM, Karl Nordström ***@***.***> wrote:
It should happen somewhere here, shouldn't it?
https://github.com/smarco/gem3-mapper/blob/12f000aa9e8ec57da6f088c57ec2b1
36b0ad5e9f/src/archive/builder/archive_builder_text.c#L341-L371
I have also found a way to reproduce it locally, or at least in a docker
image, without having to rely on the bioconda build process...
My current suspicion is that the linking is bad and a wild guess is that
it has something to do with libgomp. I'll see if I can get closer
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACdvbXIj6iGPn_w1gLurKqw6oDBJxh_fks5uJvdagaJpZM4VQz6q>
.
--
Santiago Marco-Sola
|
I'm not sure. It only happens when I build gem3-mapper through conda. If I build it on on my own computer it works as intended. looking at the broken gem-indexer binary with ldd I get this:
The first error is why I think libgomp is the problem. |
I've tried using the build through conda and it worked in my case:
In my case, I'm not missing any library:
In any case, current version of gem doesn't rely on the openMP library nor it's using it. It's being linked by mistake (as it was used in older versions) and the linking remains there for no reason. I'll remove it in the next push. Besides, the part of the code were you are looking is just parsing. Thus I believe the error should not be related to the OMP lib. Can you give me access to the input .fa file and maybe the broken binary? Thanks, |
It's good it works for you. The last thing I did yesterday was to remove openmp from the dependencies. Here is a copy of the binary: And as for sequence, I'm able to replicate it with something like this:
Compiled locally the behavior is how it should, but with the bioconda version it fails. |
I've tried your binary and input.
Can you give me more information about your system specs (both SO and hardware)? |
Yes it has to be something with my system(s). I have four systems were I have tried it, three that fails and common to all of them is that they are a bit older. I had a discussion about gemBS and the -march-native flag was mentioned. These are my testing systems: system1: Intel Xeon E5-2667 with CentOS 6.7 (fail) Is that enough info? I double-checked the checksum of the binary... it is the same on all systems. If it has to do with the hardware, that explains why it works when I compiled it locally... |
If you use -march-native there can be problems (e.g., illegal instructions)
if you compile on one processor and run on another (particularly if you
compile on a newer or otherwise more capable processor). If this is a
possibility then using -O3 rather than -march-native is recommended.
Simon
…On Wed, 25 Jul 2018, 16:44 Karl Nordström, ***@***.***> wrote:
Yes it has to be something with my system(s). I have four systems were I
have tried it, three that fails and common to all of them is that they are
a bit older. I had a discussion about gemBS and the -march-native flag was
mentioned. These are my testing systems:
system1: Intel Xeon E5-2667 with CentOS 6.7 (fail)
system2: Intel Core i5-3570K with Fedora 28 (fail)
system3: Intex Xeon E5-2670 with Debian 7.11 (fail)
system4: Intel Core Skylake (cloud) with CentOS 7.5.1804 (works)
Is that enough info?
I double-checked the checksum of the binary... it is the same on all
systems.
If it has to do with the hardware, that explains why it works when I
compiled it locally...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADHPd6kcTUmv8RlAMgUMA3cAdIgLtrh4ks5uKJJTgaJpZM4VQz6q>
.
|
This fits well to what I see. strace comes up with a SIGILL. |
I would use -O3 in this case.
Simon
…On Wed, 25 Jul 2018, 17:12 Karl Nordström, ***@***.***> wrote:
This fits well to what I see. strace comes up with a SIGILL.
My initial attempt was to change -march=native to '-march=x86-64
-mtune=generic'
But then I should also change -Ofast to -O3?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADHPd3hzht3K7wPZUqZ9nXUmhPTHlgjZks5uKJjjgaJpZM4VQz6q>
.
|
Then I change that as well. |
OK, gem3-mapper is installed and works on my system. I'll close this issue again. |
Hi,
I find gem3-mapper a very nice tool and would like to have access to it in bioconda. I have set up an recipe that works, but before I push it through I would be happy if I could have some feedback. And in order to keep it alive it would need a little bit of investment from your side.
This is the recipe:
karl616/bioconda-recipes@c6a0254
I'm quite sure that this works or at least isn't too far off, but there are a couple of things I would like improve/confirm before I go ahead.
I think the former issue is easily solved by the next release candidate and with the inclusion of #8, the latter is done in 15min/release.
What do you think?
The text was updated successfully, but these errors were encountered: