blahah / transrate

Understand your transcriptome assembly
http://hibberdlab.com/transrate
Other
100 stars 34 forks source link

Installation docs out-of-date wrt --install-deps #164

Closed ctb closed 8 years ago

ctb commented 9 years ago

http://hibberdlab.com/transrate/installation.html makes no mention of an argument to --install-deps, but:

% transrate --install-deps
Error: option '--install-deps' needs a parameter.
Try --help for help.
ctb commented 9 years ago

Seems like just specifying 'ref' works?

blahah commented 9 years ago

Oh yeah, thanks for report.

--help is correct:

  --install-deps=<s>        Install any missing dependencies. One of [read, ref, all]
ctb commented 9 years ago
% transrate -a nema.fa --left=$LIST1 --right=$LIST2
Dependencies are missing:
  - snap (1.0beta.18)
To install all missing dependencies, run:
  transrate --install-deps all
If you only want the read-metrics dependencies:
  transrate --install-deps read
Or if you only want the reference-metrics dependencies:
  transrate --install-deps ref
% transrate --install-deps=read            [ERROR] 2015-11-01 17:14:10 : install-deps read is not valid. You must specify one of: ref.
% transrate --install-deps=ref
Checking dependencies
All dependencies installed

help? :)

ctb commented 9 years ago

(Trying to update transrate to use snap 1.0beta.20, which I compiled for my own machine.)

ctb commented 9 years ago

Note also

OPTIONS:
  --assembly=<s>            Assembly file(s) in FASTA format, comma-separated
  --left=<s>                Left reads file(s) in FASTQ format, comma-separated
  --right=<s>               Right reads file(s) in FASTQ format,
                            comma-separated
  --reference=<s>           Reference proteome or transcriptome file in FASTA
                            format
  --threads=<i>             Number of threads to use (default: 8)
  --merge-assemblies=<s>    Merge best contigs from multiple assemblies into
                            file
  --output=<s>              Directory where results are output (will be
                            created) (default: transrate_results)
  --loglevel=<s>            Log level. One of [error, info, warn, debug]
                            (default: info)
  --install-deps=<s>        Install any missing dependencies. One of [ref]
  --examples                Show some example commands with explanations

just reports wanting [ref]

blahah commented 9 years ago

wait, what version of transrate do you have?

blahah commented 9 years ago

oh... it's because it's the binary package, which comes with all the read deps already installed. So the only option is to install the ref dependencies

ctb commented 9 years ago
%  transrate --version
1.0.1

On Sun, Nov 01, 2015 at 09:43:45AM -0800, Richard Smith-Unna wrote:

wait, what version of transrate do you have?


Reply to this email directly or view it on GitHub:

https://github.com/Blahah/transrate/issues/164#issuecomment-152848229

C. Titus Brown, ctbrown@ucdavis.edu

blahah commented 9 years ago

so to make transrate use a version you compiled...

  1. cd $(dirname $(which transrate ))
  2. move your compiled snap-aligner to ./bin
  3. edit ./lib/app/deps/deps.yaml to update the SNAP version
ctb commented 9 years ago

On Sun, Nov 01, 2015 at 09:47:42AM -0800, Richard Smith-Unna wrote:

so to make transrate use a version you compiled...

  1. cd $(dirname $(which transrate ))
  2. move your compiled snap-aligner to ./bin
  3. edit ./lib/app/deps/deps.yaml to update the SNAP version

Ahh, #3 important.