Skip to content
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

Setting VariantRecord pos or stop raises error #640

Closed
msto opened this issue Mar 9, 2018 · 3 comments · Fixed by bioconda/bioconda-recipes#13093
Closed

Setting VariantRecord pos or stop raises error #640

msto opened this issue Mar 9, 2018 · 3 comments · Fixed by bioconda/bioconda-recipes#13093

Comments

@msto
Copy link
Contributor

msto commented Mar 9, 2018

Hi,

On pysam 0.14, installed via conda, setting the pos or stop of a VariantRecord raises the following error:

Assertion failed: (!inf->vptr_free), function bcf_update_info, file vcf.c, line 3342.
Abort trap: 6

I tried looking into what might be causing this, but I'm unable to replicate when installing from source with pip install -e. It's only occurring when I try to use the pre-compiled version from bioconda. Any idea what might be causing this? Thanks!

EDIT: the error occurs when building with python setup.py install as well

@mvdbeek
Copy link
Contributor

mvdbeek commented May 19, 2018

I'm seeing the same issue, and using the provided manylinux wheels solves the issue, so maybe that's more of a bioconda problem ?

mvdbeek added a commit to mvdbeek/pysam that referenced this issue Jan 15, 2019
This is attempting to fix
pysam-developers#640, under the
assumption this is the same issue as in
brentp/cyvcf2#91 and that it can be fixed
as in
brentp/cyvcf2@1ea5805
mvdbeek added a commit to mvdbeek/bioconda-recipes that referenced this issue Jan 15, 2019
This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.
mvdbeek added a commit to mvdbeek/bioconda-recipes that referenced this issue Jan 15, 2019
This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.
mvdbeek added a commit to mvdbeek/bioconda-recipes that referenced this issue Jan 15, 2019
This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.
mvdbeek added a commit to mvdbeek/bioconda-recipes that referenced this issue Jan 15, 2019
This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.
@kyleabeauchamp
Copy link
Contributor

Looks like the problem is discuss upstream as well: samtools/htslib#813

mvdbeek added a commit to mvdbeek/bioconda-recipes that referenced this issue Jun 13, 2019
This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.
dpryan79 pushed a commit to bioconda/bioconda-recipes that referenced this issue Aug 15, 2019
* Remove htslib/samtools/bcftools dependencies

This fixes pysam-developers/pysam#640
which is an issue with the bioconda build of pysam.
Removing those dependencies will make pysam use the bundled
subset of htslib.
A side-effect of this is that pysam and samtools/bcftools/htslib
versions are now independent and can no be mixed at will.

* Bring recipe up to standards

* Update meta.yaml

* Remove HTSLIB env variables
@jmarshall
Copy link
Member

This has been fixed since pysam 0.16.0 (when used with HTSlib 1.10 — which fixed the underlying problem — or later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants