Skip to content

Missing required variables #2

@gbdias

Description

@gbdias

Hi @fg6 ,

I was trying to use subrand.py to match two read length distributions like you did in your paper https://pubmed.ncbi.nlm.nih.gov/28638050/
I used subrand.py -i target.fasta -x model.fasta but I keep getting the missing variable message.

 Missing required variables ! Usage:
 subrand.py -i <inputfile> -t <faqtype> -c <coverage> -r <refsize> -m <mean> -s <std>  -x <compfile>

  input file: fasta or fastq file of reads from which extract a subsample
  faqtype: format of output file, fasta or fastq [fasta]
  coverage: desired coverage for subsample
  refsize: reference size or expected genome size needed to calculate coverage, in Mb
  mean,std: mean and standard deviation of read lengths desired for subsample. If not defined, a uniform random selection of reads is performed
  compfile: comparison file:  fasta or fastq file of reads to compare with the subsample

I tried it with python 2.7 and 3.7, also tried providing some (-t fasta -c 30 -r 180) or all arguments and the missing variable warning persists. Do you have any tips to solve this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions