Skip to content

clipper displays unusual help messages and can't be used #103

@kerenzhou062

Description

@kerenzhou062

After installing clipper, I got the help message from clipper -h bellow:

Usage is  [options]
file_in is a file with a list of the length of aligned reads (only the part that aligns)
Options
 -L <int>   Effective Gene Length
 -r <int>   # of iterations
 -f <int>   input file containing read lengths
 -a <float>   B-H FDR cutoff, default(.05) ... gets very slow as alpha gets smaller
 -T 1/0 default(0) print running time statistics
Output:
Significance Threshold [tab] Iterations with this observed threshold

I also noticed that when installing with setup.py, there's warnings from peaksmodule.cc. That may caused the bug.

cythoning clipper/src/readsToWiggle.pyx to clipper/src/readsToWiggle.c
/home/user/.conda/envs/clipper3/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /net/isi-dcnl/ifs/user_data/JJChen_Grp/zhoukr/home/software/clipper/clipper/src/readsToWiggle.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
building 'clipper.src.readsToWiggle' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/clipper
creating build/temp.linux-x86_64-3.7/clipper/src
gcc -pthread -B /home/user/.conda/envs/clipper3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/.conda/envs/clipper3/include/python3.7m -c clipper/src/readsToWiggle.c -o build/temp.linux-x86_64-3.7/clipper/src/readsToWiggle.o
gcc -pthread -shared -B /home/user/.conda/envs/clipper3/compiler_compat -L/home/user/.conda/envs/clipper3/lib -Wl,-rpath=/home/user/.conda/envs/clipper3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/clipper/src/readsToWiggle.o -o build/lib.linux-x86_64-3.7/clipper/src/readsToWiggle.cpython-37m-x86_64-linux-gnu.so
building 'clipper.src.peaks' extension
gcc -pthread -B /home/user/.conda/envs/clipper3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/user/.conda/envs/clipper3/include/python3.7m -c clipper/src/peaksmodule.cc -o build/temp.linux-x86_64-3.7/clipper/src/peaksmodule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
clipper/src/peaksmodule.cc: In function ‘PyObject* peaks_readsToWiggle_pysam(PyObject*, PyObject*)’:
clipper/src/peaksmodule.cc:332:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  332 |   while (item = PyIter_Next(iterator)) {
      |          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
clipper/src/peaksmodule.cc: In function ‘PyObject* PyInit_peaks()’:
clipper/src/peaksmodule.cc:513:1: warning: no return statement in function returning non-void [-Wreturn-type]
  513 | }
      | ^
g++ -pthread -shared -B /home/user/.conda/envs/clipper3/compiler_compat -L/home/user/.conda/envs/clipper3/lib -Wl,-rpath=/home/user/.conda/envs/clipper3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/clipper/src/peaksmodule.o -o build/lib.linux-x86_64-3.7/clipper/src/peaks.cpython-37m-x86_64-linux-gnu.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions