# ERROR: The following package names could not be resolved - JWAS to perform GWAS

**URL:** <https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519>\
**Category:** General Usage\
**Created:** [February 12, 2020, 2:53pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519 "2020-02-12T14:53:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayelna](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@ayelna](https://discourse.julialang.org/u/ayelna)\
**Post date:** [February 12, 2020, 2:53pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/1 "2020-02-12T14:53:32Z")

</div>

I am using Julia ( Version 1.0.3) for the first time under linux and I tried to install JWAS package to perform GWAS analysis but unfortantly I got the following error:  
ERROR: The following package names could not be resolved:

- JWAS (not found in project, manifest or registry)  
Please specify by known `name=uuid`.  
Stacktrace:  
[1] pkgerror(::String) at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:120  
[2] #ensure\_resolved#43(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/Types.jl:900  
[3] #ensure\_resolved at ./none:0 [inlined]  
[4] #add\_or\_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:59  
[5] #add\_or\_develop at ./none:0 [inlined]  
[6] #add\_or\_develop#12 at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]  
[7] #add\_or\_develop at ./none:0 [inlined]  
[8] #add\_or\_develop#11 at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]  
[9] #add\_or\_develop at ./none:0 [inlined]  
[10] #add\_or\_develop#10 at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]  
[11] #add\_or\_develop at ./none:0 [inlined]  
[12] #add#18 at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]  
[13] add(::String) at /home/conda/feedstock\_root/build\_artifacts/julia\_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:69  
[14] top-level scope at none:0

---

<div class="post-metadata">

**Author:** ![kdyrhage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdyrhage/32/2326_2.png) [@kdyrhage](https://discourse.julialang.org/u/kdyrhage)\
**Post date:** [February 12, 2020, 3:07pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/2 "2020-02-12T15:07:57Z")

</div>

```julia
]add JWAS

```

worked for me with Julia v1.3.1. The information you gave is not enough for me to figure out what is wrong, but you could try to install it using the URL to the repository:

```julia
]add https://github.com/reworkhow/JWAS.jl.git

```

---

<div class="post-metadata">

**Author:** ![ayelna](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@ayelna](https://discourse.julialang.org/u/ayelna)\
**Post date:** [February 12, 2020, 3:19pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/3 "2020-02-12T15:19:43Z")

</div>

Thanks for your response  
I tried to install JWAS package through the URL  
Julia ]  
Julia add [GitHub - reworkhow/JWAS.jl: Julia for Whole-genome Analysis Software](https://github.com/reworkhow/JWAS.jl.git)  
and I got the following error:  
(v1.0) pkg\> add [GitHub - reworkhow/JWAS.jl: Julia for Whole-genome Analysis Software](https://github.com/reworkhow/JWAS.jl.git)  
Cloning git-repo `https://github.com/reworkhow/JWAS.jl.git`  
Updating git-repo `https://github.com/reworkhow/JWAS.jl.git`  
Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package StatsBase [2913bbd2]:  
StatsBase [2913bbd2] log:  
├─StatsBase [2913bbd2] has no known versions!  
└─restricted to versions [0.30.0-0.30, 0.31.0-0.31, 0.32.0-0.32] by JWAS [c9a035f4] — no versions left  
└─JWAS [c9a035f4] log:  
├─possible versions are: 0.7.4 or uninstalled  
└─JWAS [c9a035f4] is fixed to version 0.7.4  
I do not know if the problem is related to the server?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![kdyrhage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdyrhage/32/2326_2.png) [@kdyrhage](https://discourse.julialang.org/u/kdyrhage)\
**Post date:** [February 12, 2020, 3:48pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/4 "2020-02-12T15:48:56Z")

</div>

Could you post the output of `]registry status`?

---

<div class="post-metadata">

**Author:** ![ayelna](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@ayelna](https://discourse.julialang.org/u/ayelna)\
**Post date:** [February 12, 2020, 4:15pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/5 "2020-02-12T16:15:00Z")

</div>

(v1.0) pkg\> status  
Status `~/.julia/environments/v1.0/Project.toml`  
[9abbd945] Profile

(v1.0) pkg\>

---

<div class="post-metadata">

**Author:** ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Post date:** [February 12, 2020, 7:22pm UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/6 "2020-02-12T19:22:27Z")

</div>

How did you install Julia? I’m seeing paths that point to conda. If you didn’t install Julia from the official binaries, I would try downloading and using those instead. I was able to install JWAS using official Julia binaries just fine.

---

<div class="post-metadata">

**Author:** ![kdyrhage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kdyrhage/32/2326_2.png) [@kdyrhage](https://discourse.julialang.org/u/kdyrhage)\
**Post date:** [February 13, 2020, 8:20am UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/7 "2020-02-13T08:20:56Z")

</div>

Sorry, I just realised that registry handling wasn’t added until Julia v1.1. I agree with jpsamaroo, though, that you should try to use the official binaries instead. Preferably v1.3 unless you don’t have a reason to stick with v1.0.

---

<div class="post-metadata">

**Author:** ![ayelna](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@ayelna](https://discourse.julialang.org/u/ayelna)\
**Post date:** [February 13, 2020, 9:31am UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-jwas-to-perform-gwas/34519/8 "2020-02-13T09:31:31Z")

</div>

Dear jpsamaroo and kdyrhage, thanks for your effort, I am using a general server of the University and I think that this problem is due to permission issues, I talk with the responsible and he will resolve this problem soon.  
I am new in using the Julia (JWAS) software and I am trying to perform GWAS analysis using model of BayesB, and fitting some fixed factors in addition to the additive effect of the animal as a random effect. My doubt is regarding the fixing of the variances as a priors and leaving only to estimate the variances of the effects of the markers, another question is regarding the use of Julia (JWAS), if you are working under the interactive method of you prepare a parameter file and run Julia as in R using .sh file and writting qsub filename.sh.  
If you have any examples it will be appreciated.  
Soory for my little experience and thanks in advance.
