TatianneNegri / RNAplonc

A tool for identification of plant long non-coding RNAs.
GNU General Public License v3.0
11 stars 9 forks source link

Unable to run txCdsPredict #2

Open dipsaha opened 5 years ago

dipsaha commented 5 years ago

Hi, I am trying to run RNAplonc in a transcriptome assembly. I have completed till the cd-hit-est result step. But now I am facing difficulty in running txCdsPredict command. I have been trying to install the txCdsPredict program using 'make' command but every time I am encountering with the following error:

icar@icar-crijaf:~/Programs/kent/src/hg/txCds$ make ( cd txCdsBadBed && echo txCdsBadBed && make ) txCdsBadBed make[1]: Entering directory /home/icar/Programs/kent/src/hg/txCds/txCdsBadBed' gcc -O -g -o /home/icar/bin/x86_64/txCdsBadBed txCdsBadBed.o ../../../lib/x86_64/jkhgap.a ../../../lib/x86_64/jkweb.a -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -ldl -lstdc++ -lrt -lm ../../../htslib/libhts.a -pthread -L/lib -lssl -lcrypto -L/usr/lib/x86_64-linux-gnu -lpng12 -lm true /home/icar/bin/x86_64/txCdsBadBed make[1]: Leaving directory/home/icar/Programs/kent/src/hg/txCds/txCdsBadBed' ( cd txCdsCluster && echo txCdsCluster && make ) txCdsCluster make[1]: Entering directory /home/icar/Programs/kent/src/hg/txCds/txCdsCluster' gcc -O -g -Wall -Wformat -Wimplicit -Wreturn-type -Wuninitialized -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64 -DUSE_SSL -Wall -Wformat -Wimplicit -Wreturn-type -Wuninitialized -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc -I../../../htslib -I/include -I/usr/include/libpng12 -o txCdsCluster.o -c txCdsCluster.c gcc -O -g -o /home/icar/bin/x86_64/txCdsCluster txCdsCluster.o ../../../lib/x86_64/jkhgap.a ../../../lib/x86_64/jkweb.a -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -ldl -lstdc++ -lrt -lm ../../../htslib/libhts.a -pthread -L/lib -lssl -lcrypto -L/usr/lib/x86_64-linux-gnu -lpng12 -lm ../../../htslib/libhts.a(hts.o): In functiondecompresspeek': /home/icar/Programs/kent/src/htslib/hts.c:142: undefined reference to `inflateInit2' /home/icar/Programs/kent/src/htslib/hts.c:145: undefined reference to inflate' /home/icar/Programs/kent/src/htslib/hts.c:148: undefined reference toinflateEnd' ../../../htslib/libhts.a(cram_io.o): In function zlib_mem_deflate': /home/icar/Programs/kent/src/htslib/cram/cram_io.c:782: undefined reference todeflateInit2_' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:796: undefined reference to deflate' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:803: undefined reference todeflate' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:808: undefined reference to deflateEnd' ../../../htslib/libhts.a(cram_io.o): In functionitf8_decode_crc': /home/icar/Programs/kent/src/htslib/cram/cram_io.c:195: undefined reference to crc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:201: undefined reference tocrc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:208: undefined reference to crc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:216: undefined reference tocrc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:225: undefined reference to crc32' ../../../htslib/libhts.a(cram_io.o):/home/icar/Programs/kent/src/htslib/cram/cram_io.c:537: more undefined references tocrc32' follow ../../../htslib/libhts.a(cram_io.o): In function zlib_mem_inflate': /home/icar/Programs/kent/src/htslib/cram/cram_io.c:718: undefined reference toinflateInit2_' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:731: undefined reference to inflate' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:751: undefined reference toinflateEnd' ../../../htslib/libhts.a(cram_io.o): In function cram_read_block': /home/icar/Programs/kent/src/htslib/cram/cram_io.c:946: undefined reference tocrc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:948: undefined reference to crc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:980: undefined reference tocrc32' ../../../htslib/libhts.a(cram_io.o): In function cram_write_block': /home/icar/Programs/kent/src/htslib/cram/cram_io.c:1049: undefined reference tocrc32' /home/icar/Programs/kent/src/htslib/cram/cram_io.c:1052: undefined reference to crc32' ../../../htslib/libhts.a(cram_io.o):/home/icar/Programs/kent/src/htslib/cram/cram_io.c:1054: more undefined references tocrc32' follow ../../../htslib/libhts.a(zfio.o): In function zfgets': /home/icar/Programs/kent/src/htslib/cram/zfio.c:69: undefined reference togzgets' ../../../htslib/libhts.a(zfio.o): In function zfputs': /home/icar/Programs/kent/src/htslib/cram/zfio.c:80: undefined reference togzputs' ../../../htslib/libhts.a(zfio.o): In function zfpeek': /home/icar/Programs/kent/src/htslib/cram/zfio.c:95: undefined reference togzgetc' /home/icar/Programs/kent/src/htslib/cram/zfio.c:97: undefined reference to gzungetc' ../../../htslib/libhts.a(zfio.o): In functionzfeof': /home/icar/Programs/kent/src/htslib/cram/zfio.c:105: undefined reference to gzeof' ../../../htslib/libhts.a(zfio.o): In functionzfopen': /home/icar/Programs/kent/src/htslib/cram/zfio.c:165: undefined reference to gzopen64' /home/icar/Programs/kent/src/htslib/cram/zfio.c:169: undefined reference togzopen64' ../../../htslib/libhts.a(zfio.o): In function zfclose': /home/icar/Programs/kent/src/htslib/cram/zfio.c:180: undefined reference togzclose' ../../../htslib/libhts.a(bgzf.o): In function bgzf_write_init': /home/icar/Programs/kent/src/htslib/bgzf.c:166: undefined reference todeflateInit2_' ../../../htslib/libhts.a(bgzf.o): In function inflate_gzip_block': /home/icar/Programs/kent/src/htslib/bgzf.c:335: undefined reference toinflate' ../../../htslib/libhts.a(bgzf.o): In function bgzf_open': /home/icar/Programs/kent/src/htslib/bgzf.c:174: undefined reference tocompressBound' ../../../htslib/libhts.a(bgzf.o): In function bgzf_dopen': /home/icar/Programs/kent/src/htslib/bgzf.c:196: undefined reference tocompressBound' ../../../htslib/libhts.a(bgzf.o): In function bgzf_hopen': /home/icar/Programs/kent/src/htslib/bgzf.c:218: undefined reference tocompressBound' ../../../htslib/libhts.a(bgzf.o): In function bgzf_compress': /home/icar/Programs/kent/src/htslib/bgzf.c:244: undefined reference todeflateInit2_' /home/icar/Programs/kent/src/htslib/bgzf.c:245: undefined reference to deflate' /home/icar/Programs/kent/src/htslib/bgzf.c:246: undefined reference todeflateEnd' /home/icar/Programs/kent/src/htslib/bgzf.c:252: undefined reference to crc32' /home/icar/Programs/kent/src/htslib/bgzf.c:252: undefined reference tocrc32' ../../../htslib/libhts.a(bgzf.o): In function bgzf_gzip_compress': /home/icar/Programs/kent/src/htslib/bgzf.c:267: undefined reference todeflate' ../../../htslib/libhts.a(bgzf.o): In function bgzf_read_block': /home/icar/Programs/kent/src/htslib/bgzf.c:505: undefined reference toinflateInit2_' ../../../htslib/libhts.a(bgzf.o): In function inflate_block': /home/icar/Programs/kent/src/htslib/bgzf.c:302: undefined reference toinflateInit2_' /home/icar/Programs/kent/src/htslib/bgzf.c:306: undefined reference to inflate' /home/icar/Programs/kent/src/htslib/bgzf.c:307: undefined reference toinflateEnd' /home/icar/Programs/kent/src/htslib/bgzf.c:311: undefined reference to inflateEnd' ../../../htslib/libhts.a(bgzf.o): In functionbgzf_close': /home/icar/Programs/kent/src/htslib/bgzf.c:816: undefined reference to inflateEnd' /home/icar/Programs/kent/src/htslib/bgzf.c:817: undefined reference todeflateEnd' collect2: error: ld returned 1 exit status make[1]: [/home/icar/bin/x86_64/txCdsCluster] Error 1 make[1]: Leaving directory `/home/icar/Programs/kent/src/hg/txCds/txCdsCluster' make: [txCdsCluster.all] Error 2

Please help on the above issue! Dip

suraj1257 commented 4 years ago

you can simply do ./txCdsPredict your fasta file name .fasta result.cds