File: README.test

package info (click to toggle)
metastudent 2.0.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 95,636 kB
  • sloc: java: 3,287; perl: 2,089; python: 1,423; ruby: 242; sh: 39; makefile: 19
file content (42 lines) | stat: -rw-r--r-- 1,707 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Notes on how this package can be tested.
────────────────────────────────────────

This package can be tested by executing

    sh run-unit-test

in order to confirm its integrity.

To test manually, cd to some dir where you have write permissions and do

    cp /usr/share/doc/metastudent/examples/test.fasta .
    metastudent -i test.fasta -o test.result --temp-dir=.

If you believe that results are incorrect, you can run metastudent with
additional parameter to see temporary output for different stages. 
Just run it with --keep-temp flag like this:

    metastudent -i test.fasta -o test.result --temp-dir=. --keep-temp

As a result of this call, temporary directory will be present in work dir.
The most informative files you can find there are named "logA.txt", 
"logB.txt", "logC.txt" - they contain logs for different stages. 

To run metastudent with legacy version of blast (or any different version,
installed manually), you should do the following:

1. Install legacy blast from NCBI website. 
  I recommend using legacy blast 2.2.26, since I checked metastudent results
  with this specific version).
2. Copy metastudentrc.default config file from metastudent dir to location 
  where you have write permissions. 
3. Find "blastpgp" file in legacy blast installation. Edit your 
  metastudentrc.default copy to point to this file in  line starting with
  "BLASTPGP_EXE_PATH".

After that, do
 
    cp /usr/share/doc/metastudent/examples/test.fasta .
    metastudent -i test.fasta -o test.result --temp-dir=. --config=metastudentrc.default

The result files produced by metastudent should appear in working dir.