rstoolbox.tests.helper.random_fastq

rstoolbox.tests.helper.random_fastq(sequence, description, selection, btags, num_seqs, min_repeat, max_repeat, num_files, prefix)

Generate a requested number of fastq files.

Parameters:
  • sequence (str) – Starting protein sequence.
  • description (str) – Name of the sequence.
  • selection (str) – Region of the sequence to keep untouched.
  • btags (list() of str) – Protein sequence border tags.
  • num_seqs (int) – Number of individual sequences to generate.
  • min_repeat (int) – Minimum number of repetitions per sequence.
  • max_repeat (int) – Maximum number of repetitions per sequence.
  • num_files (int) – Number of files to generate.
  • prefix (str) – Prefixes for the files.
Returns:

list() of str - filenames generated