pbrowse broken in plinksek-0.10

28 views
Skip to first unread message

RD

unread,
Sep 1, 2017, 6:11:00 PM9/1/17
to plinkseq-users
Hello,

I have just installed plinkseq-0.10 (I have tried the linux executables as well as building from source), the pbrowse script is not working since pbrowse.cgi is nowhere to be found.

Inflating plinkseq-x86_64-latest.zip gives:

Archive:  plinkseq-x86_64-latest.zip
   creating
: plinkseq-0.10/
  inflating
: plinkseq-0.10/pseq      
  inflating
: plinkseq-0.10/smp      
  inflating
: plinkseq-0.10/mm        
  inflating
: plinkseq-0.10/behead    
  inflating
: plinkseq-0.10/gcol      
  inflating
: plinkseq-0.10/browser  
  inflating
: plinkseq-0.10/mongoose  
  inflating
: plinkseq-0.10/pbrowse  



and pbrowse  looks like:

#!/bin/bash
if [ ! $1 ]
then
    echo
"Usage: pbrowse [project]"
   
exit
fi
ROOT_DIR
=.
PROJECT
=${1}
if [[ $PROJECT != /* ]]
then
    PROJECT=`pwd`/${PROJECT}
fi
mongoose -r @prefix@/bin > /dev/null &
MONGOOSE_PID=$!
open http://localhost:8080/pbrowse.cgi?proj=${PROJECT} &
echo "Running pbrowse [ "${PROJECT}" ]"
read -n 1 -s
# shut down mongoose
disown $MONGOOSE_PID
kill -9 $MONGOOSE_PID
echo "Exiting pbrowse..."


Not sure what @prefix@/bin stand for however pbrowse.cgi is not present anywhere. Is the pbrowse.cgi meant to be replaced by the plinkseq-0.10/browser executable and the pbrowse script was not updated?

Any help would be appreciated,

RD
Reply all
Reply to author
Forward
0 new messages