bdeonovic / IDPASE.jl

IDP-ASE: haplotyping and quantifying allele-specific expression at the gene and gene isoform level by hybrid sequencing
http://healthcare.uiowa.edu/labs/au
Other
4 stars 3 forks source link

IDPASE.jl is not compatible with julia v0.6+ #1

Closed cangfengzhe closed 4 years ago

cangfengzhe commented 4 years ago

IDPASE.jl is a excellent tool to haplotype and quantify allele-specific expression. But when I install the tools using julia v0.5,terminal show:

Version 0.5.2 (2017-05-06 16:34 UTC)
 |  Official http://julialang.org/ release
x86_64-pc-linux-gnu

julia> Pkg.clone("git://github.com/bdeonovic/IDPASE.jl.git")
INFO: Initializing package repository /sfs-grand-med-research/home/lipidong/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:Net, SSL error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version)
 in macro expansion at ./libgit2/error.jl:99 [inlined]
 in clone(::String, ::String, ::Base.LibGit2.CloneOptions) at ./libgit2/repository.jl:191
 in #clone#112(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::String) at ./libgit2/libgit2.jl:327
 in (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String, ::String) at ./<missing>:0
 in (::Base.Pkg.Dir.##4#6{String,String})() at ./pkg/dir.jl:49
 in cd(::Base.Pkg.Dir.##4#6{String,String}, ::String) at ./file.jl:59
 in init(::String, ::String) at ./pkg/dir.jl:47
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:28
 in clone(::String) at ./pkg/pkg.jl:151

Announcement on GitHub discontinued support for the TLS 1.0 & 1.1 protocols and only support connections with the TLS 1.2 protocol on February 22, 2018.

When I install the tools using julia v1.0.3 or v0.6,terminal show:

>julia -version
julia version 1.0.3

>julia ../src/prep_runs.jl -a ../test_data/SGS.psl ../test_data/TGS.psl -g ../test_data/TDRKH.gpd -v ../test_data/sim.vcf -q ../test_data/SGS.fq ../test_data/TGS.fq -d temp/ -c 1 -f 1 1 -o gene_files/ -p sim

ERROR: LoadError: syntax: extra token "PSLEntry" after end of expression
Stacktrace:
 [1] include at ./boot.jl:317 [inlined]
 [2] include_relative(::Module, ::String) at ./loading.jl:1044
 [3] include(::Module, ::String) at ./sysimg.jl:29
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:319 [inlined]
 [6] eval(::Expr) at ./client.jl:393
 [7] top-level scope at ./none:3
in expression starting at /Users/lipidong/.julia/dev/IDPASE/src/IDPASE.jl:12
ERROR: LoadError: Failed to precompile IDPASE [8a35e466-3408-5f13-8ff8-5fb3849a80a8] to /Users/lipidong/.julia/compiled/v1.0/IDPASE/lCtAV.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
 [3] _require(::Base.PkgId) at ./loading.jl:960
 [4] require(::Base.PkgId) at ./loading.jl:858
 [5] require(::Module, ::Symbol) at ./loading.jl:853
 [6] include at ./boot.jl:317 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1044
 [8] include(::Module, ::String) at ./sysimg.jl:29
 [9] exec_options(::Base.JLOptions) at ./client.jl:266
 [10] _start() at ./client.jl:425

Would you like to revise the code to be compatible with julia v0.6+. Thanks

bdeonovic commented 4 years ago

Sorry this is not being maintained any more.