Closed SabeenR closed 7 years ago
1) I HAVE definitely installed MetaGeneMark, REAPR and FRC_Align I've included the executable (and bin directories) in PATH but the test scrip still cannot find them.
The pipeline is just calling which which FRC
not which FRCbam
so that is a bug.
2) I'm not sure why the test stopped abruptly at POSTPROCESSING. This is probably the same as issue #248. You can change the script to add the verbose (-v) option to runPipeline to verify.
3) How can I re-run the test pipeline cleanly ? Rerunning the same command will resume the pipeline at the failed step, if you want to re-run from scratch you can remove the test1 folder.
Thanks for your reply Sergey, I was able to get rid of the FRCbam warning by changing the call for FRC instead of FRCbam in the runPipeline.sh file and by creating a symbolic link to gmhmmp binany as you suggested but I'm still unable to get rid of the REAPR warning.
Here is the ls -l for the REAPR directory inside /metAMOS-1.5rc3/Utilities/cpp/Linux-x86_64/ [root@tcmc_sandbox2 REAPR]# ls -l total 388 -rw-r--r--. 1 12654 1054 5383 Feb 23 2015 changelog.txt -rwxr-xr-x. 1 12654 1054 4356 Feb 23 2015 install.sh -rw-r--r--. 1 12654 1054 35147 Feb 23 2015 licence.txt -rw-r--r--. 1 12654 1054 325751 Feb 23 2015 manual.pdf -rw-r--r--. 1 1 12654 1054 2854 Feb 23 2015 README lrwxrwxrwx. 1 root root 80 Sep 28 09:28 reapr.pl -> /home/AnalysisTools/metAMOS-1.5rc3/Utilities/cpp/Linux-x86_64/REAPR/src/reapr.pl drwxr-xr-x. 2 12654 1054 4096 Sep 28 09:27 src drwxr-xr-x. 7 12654 1054 4096 Mar 17 2014 third_party
Also, inside the src dir:
[root@tcmc_sandbox2 REAPR]# ls -l src total 4396 -rwxr-xr-x. 1 root root 339444 Sep 27 13:26 bam2fcdEstimate -rw-r--r--. 1 12654 1054 5976 Jan 3 2013 bam2fcdEstimate.cpp -rw-r--r--. 1 root root 58120 Sep 27 13:26 bam2fcdEstimate.o -rwxr-xr-x. 1 root root 297786 Sep 27 13:26 bam2fragCov -rw-r--r--. 1 12654 1054 6027 Mar 13 2014 bam2fragCov.cpp -rw-r--r--. 1 root root 46888 Sep 27 13:26 bam2fragCov.o -rwxr-xr-x. 1 root root 316232 Sep 27 13:26 bam2insert -rw-r--r--. 1 12654 1054 5358 Mar 13 2014 bam2insert.cpp -rw-r--r--. 1 root root 38840 Sep 27 13:26 bam2insert.o -rwxr-xr-x. 1 root root 298034 Sep 27 13:26 bam2perfect -rw-r--r--. 1 12654 1054 6697 Sep 5 2012 bam2perfect.cpp -rw-r--r--. 1 root root 52136 Sep 27 13:26 bam2perfect.o lrwxrwxrwx. 1 12654 1054 23 Jan 3 2013 bamtools -> ../third_party/bamtools -rw-r--r--. 1 12654 1054 650 Jul 23 2012 coveragePlot.cpp -rw-r--r--. 1 12654 1054 755 Jul 23 2012 coveragePlot.h -rw-r--r--. 1 root root 18072 Sep 27 13:26 coveragePlot.o -rw-r--r--. 1 12654 1054 1329 Jul 23 2012 errorWindow.cpp -rw-r--r--. 1 12654 1054 1175 Jul 23 2012 errorWindow.h -rw-r--r--. 1 root root 9504 Sep 27 13:26 errorWindow.o -rwxr-xr-x. 1 root root 20654 Sep 27 13:26 fa2gaps -rw-r--r--. 1 12654 1054 947 Jul 23 2012 fa2gaps.cpp -rw-r--r--. 1 root root 5904 Sep 27 13:26 fa2gaps.o -rwxr-xr-x. 1 root root 25186 Sep 27 13:26 fa2gc -rw-r--r--. 1 12654 1054 5749 Feb 26 2014 fa2gc.cpp -rw-r--r--. 1 root root 12432 Sep 27 13:26 fa2gc.o -rw-r--r--. 1 12654 1054 2781 Nov 6 2012 fasta.cpp -rw-r--r--. 1 12654 1054 1371 Nov 6 2012 fasta.h -rw-r--r--. 1 root root 12712 Sep 27 13:26 fasta.o lrwxrwxrwx. 1 12654 1054 38 Jan 3 2013 findknownsnps -> ../third_party/snpomatic/findknownsnps -rw-r--r--. 1 12654 1054 10022 Jan 3 2013 histogram.cpp -rw-r--r--. 1 12654 1054 3129 Aug 14 2012 histogram.h -rw-r--r--. 1 root root 46816 Sep 27 13:26 histogram.o lrwxrwxrwx. 1 root root 80 Sep 28 09:26 Link to reapr.pl -> /home/AnalysisTools/metAMOS-1.5rc3/Utilities/cpp/Linux-x86_64/REAPR/src/reapr.pl -rw-r--r--. 1 12654 1054 4016 Mar 13 2014 Makefile -rwxr-xr-x. 1 root root 39859 Sep 27 13:26 make_plots -rw-r--r--. 1 12654 1054 3527 Mar 8 2013 make_plots.cpp -rw-r--r--. 1 root root 45112 Sep 27 13:26 make_plots.o -rwxr-xr-x. 1 root root 34698 Sep 27 13:26 n50 -rw-r--r--. 1 12654 1054 4181 Nov 8 2012 n50.cpp -rw-r--r--. 1 root root 21880 Sep 27 13:26 n50.o -rwxr-xr-x. 1 12654 1054 3587 Feb 23 2015 reapr.pl lrwxrwxrwx. 1 12654 1054 32 Jan 3 2013 samtools -> ../third_party/samtools/samtools -rwxr-xr-x. 1 root root 30368 Sep 27 13:26 scaff2contig -rwxr-xr-x. 1 12654 1054 2273 Jul 23 2012 scaff2contig.cpp -rw-r--r--. 1 root root 18416 Sep 27 13:26 scaff2contig.o lrwxrwxrwx. 1 12654 1054 27 Apr 5 2013 smalt -> ../third_party/smalt_x86_64 lrwxrwxrwx. 1 12654 1054 20 Jan 3 2013 tabix -> ../third_party/tabix -rwxr-xr-x. 1 root root 310907 Sep 27 13:26 task_break -rw-r--r--. 1 12654 1054 15915 Feb 23 2015 task_break.cpp -rw-r--r--. 1 root root 65912 Sep 27 13:26 task_break.o -rwxr-xr-x. 1 12654 1054 2461 Feb 24 2014 task_facheck.pl -rwxr-xr-x. 1 root root 319052 Sep 27 13:26 task_fcdrate -rw-r--r--. 1 12654 1054 11614 Jul 23 2012 task_fcdrate.cpp -rw-r--r--. 1 root root 49296 Sep 27 13:26 task_fcdrate.o -rwxr-xr-x. 1 root root 312835 Sep 27 13:26 task_gapresize -rw-r--r--. 1 12654 1054 7622 Mar 13 2014 task_gapresize.cpp -rw-r--r--. 1 root root 40384 Sep 27 13:26 task_gapresize.o -rwxr-xr-x. 1 12654 1054 6122 Apr 5 2013 task_perfectfrombam.pl -rwxr-xr-x. 1 12654 1054 4619 Nov 15 2012 task_perfectmap.pl -rwxr-xr-x. 1 12654 1054 4097 Feb 23 2015 task_pipeline.pl -rwxr-xr-x. 1 12654 1054 3158 Mar 8 2013 task_plots.pl -rwxr-xr-x. 1 12654 1054 14916 Jul 18 2014 task_preprocess.pl -rwxr-xr-x. 1 root root 417075 Sep 27 13:26 task_score -rw-r--r--. 1 12654 1054 41444 Mar 13 2014 task_score.cpp -rw-r--r--. 1 root root 212160 Sep 27 13:26 task_score.o -rwxr-xr-x. 1 12654 1054 1410 Feb 24 2014 task_seqrename.pl -rwxr-xr-x. 1 12654 1054 5576 Mar 13 2014 task_smaltmap.pl -rwxr-xr-x. 1 root root 384509 Sep 27 13:26 task_stats -rw-r--r--. 1 12654 1054 33174 Mar 13 2014 task_stats.cpp -rw-r--r--. 1 root root 127520 Sep 27 13:26 task_stats.o -rwxr-xr-x. 1 12654 1054 8928 Nov 8 2012 task_summary.pl -rw-r--r--. 1 12654 1054 11461 Jan 3 2013 trianglePlot.cpp -rw-r--r--. 1 12654 1054 3157 Jul 23 2012 trianglePlot.h -rw-r--r--. 1 root root 28440 Sep 27 13:26 trianglePlot.o -rw-r--r--. 1 12654 1054 2379 Jul 23 2012 utils.cpp -rw-r--r--. 1 12654 1054 1561 Jul 23 2012 utils.h -rw-r--r--. 1 root root 40232 Sep 27 13:26 utils.o
REAPR cannot be found because your install looks incomplete or is a different version (metAMOS uses 1.0.16). The installation should add a symlink named reapr pointing to reapr.pl:
$ tail -n 20 install.sh
------------------------------------------------------------------------------
"
cd $rootdir/src
make
cd ..
ln -s src/reapr.pl reapr
echo "
Reapr compiled
All done!
Run
./reapr
for usage.
Read the manual
manual.pdf
for full instructions
"
This is what metAMOS is looking for and not finding.
Aah.. I have a different version – I have 1.0.18
Not sure how to uninstall it and install a clean copy of 1.0.16
Any suggestions ?
Thanks so much for your help.
From: Sergey Koren [mailto:notifications@github.com] Sent: Wednesday, September 28, 2016 12:29 PM To: marbl/metAMOS metAMOS@noreply.github.com Cc: Raza, Sabeen sraza@bcm.edu; Author author@noreply.github.com Subject: Re: [marbl/metAMOS] Error while running the iMetAOS test_pipeline_test.sh (#249)
_CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe.
REAPR cannot be found because your install looks incomplete or is a different version (metAMOS uses 1.0.16). The installation should add a symlink named reapr pointing to reapr.pl:
$ tail -n 20 install.sh
"
cd $rootdir/src
make
cd ..
ln -s src/reapr.pl reapr
echo "
Reapr compiled
All done!
Run
./reapr
for usage.
Read the manual
manual.pdf
for full instructions
"
This is what metAMOS is looking for and not finding.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_marbl_metAMOS_issues_249-23issuecomment-2D250237844&d=DQMFaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=hjzGi4lDH2GNVJcvxgpBBW3R_d6jfQHHD15OD5vJ2o8&s=gNOvlM-ScrcelCIMJH3MzM_yKVjoaAfL5FUFi62S1sk&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_notifications_unsubscribe-2Dauth_AVXI4eNQU0LLHjevS4XdzvsnijIsuJ1zks5quqPSgaJpZM4KFKX6&d=DQMFaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=hjzGi4lDH2GNVJcvxgpBBW3R_d6jfQHHD15OD5vJ2o8&s=t-lIUC7-zWmB1t6JmZpKBLCTOU8fAmvwj4VUfv3h0H4&e=.
You can try symlinking src/reapr.pl as reapr or just renaming reapr.pl to reapr since it is already a symlink in your folder.
IT WORKED!! Now it find reapr !
Ok now we need to tackle the next issue.
Ive just opened another ticket #250
Not sure why it suddenly stops at the FINDORFs stage.. didn't do that before.
I've removed the -a soap flag from the run_pipline_test.sh and re-running it now.
Same error :( Not sure why it didn't go thru like before.
Sabeen
-------- Original message -------- From: Sergey Koren notifications@github.com Date: 9/28/16 12:42 PM (GMT-06:00) To: marbl/metAMOS metAMOS@noreply.github.com Cc: "Raza, Sabeen" sraza@bcm.edu, Author author@noreply.github.com Subject: Re: [marbl/metAMOS] Error while running the iMetAOS test_pipeline_test.sh (#249)
_CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe.
You can try symlinking src/reapr.pl as reapr or just renaming reapr.pl to reapr since it is already a symlink in your folder.
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_marbl_metAMOS_issues_249-23issuecomment-2D250241785&d=DQMCaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=a-1lgMvOQV1qIFXP_eKhRPum9BpHew1mnGT6ffSJo5Y&s=bpTnXrctt5fR3d8EYJxoT34rGj0GlHbtBQXUPzJC2Jc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AVXI4b7VdLaYnOs-5F6wLp8WPeWuXUAuA-5Fks5quqbzgaJpZM4KFKX6&d=DQMCaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=a-1lgMvOQV1qIFXP_eKhRPum9BpHew1mnGT6ffSJo5Y&s=eir2TQwBmaaMYIYWwKVXloHpV26gak3EjJVAX0ZTKEo&e=.
Hi, I've installed MetAMOS and iMetAMOS on my linux box and tried to run the test pipleine (run_pipeline_test.sh) and got the following warnings and errors:
A few questions: 1) I HAVE definitely installed MetaGeneMark, REAPR and FRC_Align I've included the executable (and bin directories) in PATH but the test scrip still cannot find them.
2) I'm not sure why the test stopped abruptly at POSTPROCESSING.
3) How can I re-run the test pipeline cleanly ?
here is what the POSTPROCESS.log file shows in the /Test/test/ directory: