Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

Julia v0.6 compatability #480

Closed
CorySimon opened this issue Jul 19, 2017 · 9 comments
Closed

Julia v0.6 compatability #480

CorySimon opened this issue Jul 19, 2017 · 9 comments
Milestone

Comments

@CorySimon
Copy link

Am I too early to upgrade to Julia v0.6 for Bio v0.4.7?

using Bio.Intervals
Interval("chr1", 10000, 20000)

gives error:

ERROR: type String has no field data
Use `Vector{UInt8}(str)` instead.
Stacktrace:
 [1] Bio.Intervals.Interval(::String, ::Int64, ::Int64) at /Users/csimon/.julia/v0.6/Bio/src/intervals/interval.jl:34
@bicycle1885
Copy link
Member

bicycle1885 commented Jul 19, 2017

All functions related to Bio.Intervals have been moved to GenomicFeatures.jl, which already supports Julia 0.6 (and Julia 0.5). For a while, Bio.jl is not recommended for Julia 0.6 users but it will be rebuilt on top of more modular packages including GenomicFeatures.jl. See #425 for more details.

@tlnagy
Copy link

tlnagy commented Sep 22, 2017

Since Julia 0.6 is the current stable release, I think it would be best to have a prominent warning message or something to let people know that Bio.jl is going through these large changes. It took me a while to figure out that major rearchitecting is going on and that's why running using Bio gives dozens of warnings on v0.6.

@jonathanBieler
Copy link

jonathanBieler commented Oct 27, 2017

What's the update path ? I've been working on the master for a while and after making a few changes (e.g. BEDMetadata -> BED.Record, ...) it seems to work alright on 0.6. I'm mainly using the BAM stuff though. Is there anything else to worry about ? Will Bio.Intervals.BED keep pointing to GenomicFeatures.BED ?

@TransGirlCodes
Copy link
Member

Will Bio.Intervals.BED keep pointing to GenomicFeatures.BED?

Yes it will will always point to GenomicFeatures.BED, Bio.jl is a meta-package and so the vast majority of its content will point to other packages.

@KarolisM
Copy link

KarolisM commented Nov 6, 2017

It seems that GenomicFeatures is way ahead and in principal I failed to compile Bio.jl and GenomicFeatures because dependencies does not match: both requires diff versions of IntervalTrees...
Any tips how I could solve this issue? Thanks.

@timbitz
Copy link
Member

timbitz commented Nov 6, 2017

The IntervalTrees.jl master branch works on Julia v0.6, just not the latest release yet I think. For now you should be able to get it with Pkg.checkout("IntervalTrees").

@bicycle1885
Copy link
Member

Developers often forget to release the latest version because they use their latest branch on their machine.

I added a minor fix to IntervalTrees.jl (BioJulia/IntervalTrees.jl#33) and will soon release a new version that supports Julia 0.6.

@ChrisRackauckas
Copy link

It seems there are still a lot of depwarns. Can Femtocleaner be setup and run on all of the repos, and a tag go through?

@kescobo kescobo closed this as completed Jan 21, 2018
@kescobo kescobo reopened this Jan 21, 2018
@kescobo
Copy link
Member

kescobo commented Jan 21, 2018

Sorry... Ignore me 😕

Sent with GitHawk

@TransGirlCodes TransGirlCodes added this to the Version 0.5 milestone Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants