Sha256: 435f910c1214c36f77787c4af06de080978a933beb1d7d2c83e9abac6d1914de

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

Feature: The sequence keyword
  In order to place contigs the scaffold
  A user can use the sequence keyword

  Scenario: A scaffold with a single sequence keyword
    Given a file named "sequence.fna" with:
      """
      >seq
      TTTTT
      """
    Given a file named "scaffold.yml" with:
      """
      ---
        -
          sequence:
            source: "seq"
      """
    When creating a scaffold with the files "scaffold.yml" and "sequence.fna"
    Then the scaffold should contain 1 sequence entries
    And the scaffold sequence should be TTTTT

  Scenario: A scaffold with a two sequence keywords
    Given a file named "sequence.fna" with:
      """
      >seq1
      TTT
      >seq2
      AAA
      """
    Given a file named "scaffold.yml" with:
      """
      ---
        -
          sequence:
            source: "seq1"
        -
          sequence:
            source: "seq2"
      """
    When creating a scaffold with the files "scaffold.yml" and "sequence.fna"
    Then the scaffold should contain 2 sequence entries
    And the scaffold sequence should be TTTAAA

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scaffolder-0.5.0 features/sequence.feature
scaffolder-0.4.4 features/sequence.feature