[go: nahoru, domu]

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

the error about R #33

Closed
Shirley-Q opened this issue Nov 23, 2018 · 18 comments
Closed

the error about R #33

Shirley-Q opened this issue Nov 23, 2018 · 18 comments

Comments

@Shirley-Q
Copy link

Hi,
It has an error all the time when I install R. I tried different versions, but it did not worked. Can you help me?
screenshot from 2018-11-23 22-22-25

Best wishes,
Shirley

@SilasK
Copy link
Contributor
SilasK commented Nov 23, 2018

Have you tried to install the package via conda?

Have you specified the version for data.table ? if yey what happens if you use the most up to data one.

By the way: If you copy your error message it becomes searchable.

@Shirley-Q
Copy link
Author

I install R using a command 'apt-get install r-base-core'. Now my R is 3.4.4
I did not specify the version for data.table.
I copy my error message but it are not solved.

@SilasK
Copy link
Contributor
SilasK commented Nov 23, 2018

may be you need a newer version of R

For the conda pakage which was build on a linux, it worked with

     - r=3.5.1
    - python=3.6
    - numpy=1.15.0
    - r-data.table=1.11.4
    - r-domc=1.3.5
    - r-ggplot2=3.1
    - ruby=2.4.4
    - pullseq=1.0.2
    - prodigal=2.6.3
    - blast=2.7.1
    - diamond=0.9.22`

bioconda recipie

by the way if you have cond ainstalled you can install it automatically with conda install -c bioconda das_tool

@Shirley-Q
Copy link
Author

If i have conda,i donot need install R,right?
I have conda and I can not install das_tool using conda. Because it also have error.
/home/yuke/Desktop/Screenshot from 2018-11-23 23-30-34.png

@SilasK
Copy link
Contributor
SilasK commented Nov 26, 2018

you pasted only the path to an image, this doesn't help me, sorry.

@Shirley-Q
Copy link
Author

Oh, I am so sorry.
screenshot from 2018-11-26 15-29-42

@SilasK
Copy link
Contributor
SilasK commented Nov 26, 2018

Haha, conflicting dependencies. Now comes the usefulness of conda: Create a environment for das tool.

conda create -n dastoolenv -c bioconda das_tool

otherwise you can also deinstall futures.
What are you trying to do?

@SilasK
Copy link
Contributor
SilasK commented Nov 26, 2018 via email

@Shirley-Q
Copy link
Author

I change the first line of the Fasta_to_Scaffolds2Bin.sh script to #!/bin/bash and it worked. But I have new error. I add a symbolic link called usearch with 'ln -s usearch9.0.2132_i86linux32 usearch', But it did not work.
usearch

@SilasK
Copy link
Contributor
SilasK commented Nov 26, 2018

Explication:
the DAS_Tool script is somewhere in anaconda/envs/dastoolenv/bin

  1. Add usearch to your path!
    export PATH="/path/to/usearch:$PATH"

@Shirley-Q
Copy link
Author

But I don't have usearch. So I dont know how to write /path/to/usearch
u

@SilasK
Copy link
Contributor
SilasK commented Nov 26, 2018

use diamond:
DAS_Tool --search_engine diamond

@Shirley-Q
Copy link
Author

image

@Shirley-Q
Copy link
Author

I download the program 'usearch9.0.2132_i86linux32' and put it in the path '/home/yuke/miniconda2/envs/dastoolenv/bin'. Then I modify the filename to 'usearch', but it didn't work.

@SilasK
Copy link
Contributor
SilasK commented Nov 27, 2018

@cmks It seems there is some bug in the code on line 241.

@Shirley-Q

DAS_Tool --search_engine diamond -i sample_data.... -l maxbin,metabat -c ... -o .

what is the output of the folowing:

conda activate dastoolenv
cd  ~
usearch

@Shirley-Q
Copy link
Author

Hi,
I download usearch in the official website and install it use command 'chmod +x usearch'. Now there is no error tips about usearch. There is new error tip.
93

@SilasK
Copy link
Contributor
SilasK commented Nov 28, 2018 via email

@cmks
Copy link
Owner
cmks commented Jan 10, 2019

The output folder is now created automatically if it doesn't exist.

@cmks cmks closed this as completed Jan 10, 2019
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

No branches or pull requests

3 participants