rkajitani / MetaPlatanus

De novo metagenome assembler
GNU General Public License v3.0
12 stars 1 forks source link

either compiling OR using a conda recipe I get the same error: Inappropriate ioctl for device error in the end #9

Closed drelo closed 2 years ago

drelo commented 2 years ago

I summarized part of my attempts to install and use MetaPlatanus here but in order to be more concrete here are two ways I tried to solve this.

ATTEMPTING TO COMPILE ON MY OWN

I used mamba and installed all the dependencies in a new environment. I manually installed NextPolish, I added the path to .bashrc file and I checked that it worked.

mamba create --name platanus
conda activate platanus
mamba install -c bioconda samtools tgsgapcloser bwa metabat2 seqkit minimap2 racon
pip install paralleltask
unizp master.zip
cd Metaplatanus
make
cp ./sub_bin/* ~/.local/miniconda/envs/platanus/bin/
cp metaplatanus  ~/.local/miniconda/envs/platanus/bin/

Here is the environment

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
bwa                       0.7.17               h7132678_9    bioconda
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
htslib                    1.15                 h9753748_0    bioconda
k8                        0.2.5                hd03093a_2    bioconda
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.2               h3790be6_4    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
libcurl                   7.81.0               h2574ce0_0    conda-forge
libdeflate                1.10                 h7f98852_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libnghttp2                1.47.0               h727a467_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
metabat2                  2.12.1                        1    bioconda
minimap2                  2.24                 h7132678_1    bioconda
ncurses                   6.3                  h9c3ff4c_0    conda-forge
openssl                   1.1.1l               h7f98852_0    conda-forge
paralleltask              0.1.1                    pypi_0    pypi
perl                      5.32.1          2_h7f98852_perl5    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
psutil                    5.9.0                    pypi_0    pypi
python                    3.10.2          h85951f9_3_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
racon                     1.4.20               hd03093a_2    bioconda
readline                  8.1                  h46c0cb4_0    conda-forge
samtools                  1.15                 h1170115_1    bioconda
seqkit                    2.1.0                h9ee0642_0    bioconda
setuptools                60.9.3          py310hff52083_0    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
tgsgapcloser              1.0.3                h5b5514e_2    bioconda
tk                        8.6.12               h27826a3_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge                                                                        

That didn't work I got an error with tgsgapcloser_mod but even when I used metaplatanus -IP1 PE_1.fq PE_2.fq -ont ONT.fq -no_tgsgapcloser -o ZERO

ATTEMPTING TO CREATE A CONDA ENVIRONMENT AND USING A CONDA RECIPE

mamba create --name oldplatanus
conda activate oldplatanus
mamba install -c conda-forge -c bioconda metaplatanus

Here is the conda list

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
bwa                       0.7.17               h7132678_9    bioconda
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2021.10.8            ha878542_0    conda-forge
gzip                      1.11                 h7f98852_0    conda-forge
htslib                    1.10.2               hd3b49d5_1    bioconda
k8                        0.2.5                hd03093a_2    bioconda
keyutils                  1.6.1                h166bdaf_0    conda-forge
krb5                      1.19.2               h3790be6_4    conda-forge
ld_impl_linux-64          2.36.1               hea4e1c9_2    conda-forge
libcurl                   7.81.0               h2574ce0_0    conda-forge
libdeflate                1.6                  h516909a_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 11.2.0              h1d223b6_13    conda-forge
libgomp                   11.2.0              h1d223b6_13    conda-forge
libnghttp2                1.47.0               h727a467_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libssh2                   1.10.0               ha56f1ee_2    conda-forge
libstdcxx-ng              11.2.0              he4da1e4_13    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libzlib                   1.2.11            h36c2ea0_1013    conda-forge
llvm-openmp               8.0.1                hc9558a2_0    conda-forge
metabat2                  2.15                 h986a166_1    bioconda
metaplatanus              1.3.0                hf1761c0_1    bioconda
minimap2                  2.24                 h7132678_1    bioconda
ncurses                   6.2                  h58526e2_4    conda-forge
openmp                    8.0.1                         0    conda-forge
openssl                   1.1.1l               h7f98852_0    conda-forge
perl                      5.32.1          2_h7f98852_perl5    conda-forge
pip                       22.0.3             pyhd8ed1ab_0    conda-forge
psutil                    5.9.0           py310h6acc77f_0    conda-forge
python                    3.10.2          h62f1059_0_cpython    conda-forge
python_abi                3.10                    2_cp310    conda-forge
racon                     1.4.20               hd03093a_2    bioconda
readline                  8.1                  h46c0cb4_0    conda-forge
samtools                  1.10                 h2e538c0_3    bioconda
seqkit                    2.1.0                h9ee0642_0    bioconda
setuptools                60.9.3          py310hff52083_0    conda-forge
sqlite                    3.37.0               h9cd32fc_0    conda-forge
tgsgapcloser              1.0.3                h5b5514e_2    bioconda
tk                        8.6.12               h27826a3_0    conda-forge
tzdata                    2021e                he74cb21_0    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h36c2ea0_1013    conda-forge

I get the same error

Error: contig_assembly error!
Inappropriate ioctl for device

I am trying to solve this in order to assemble several metagenomes. Could you help me to resolve this? I can provide more logs or attempt more things just let me know. Thanks for your help.