Sha256: 5b77937faece13e10b43435ad08fdc177a89eac1730c51fcc6d327306f29bdff

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

Feature: Plugins accessing the scaffold in a genomer project
  In order to access the scaffold in a genomer plugin
  A plugin developer can access the scaffold using the #scaffold method
  So that the scaffold can be used

  @disable-bundler
  Scenario: Plugin accessing the scaffold
    Given I run the genomer command with the arguments "init project"
      And I cd to "project"
      And I append to "Gemfile" with:
      """
      gem 'genomer',               :path => '../../../'
      gem 'genomer-plugin-simple', :path => '../../../genomer-plugin-simple'
      """
      And I append to "assembly/scaffold.yml" with:
      """
      ---
      -
        sequence:
          source: contig1
      -
        sequence:
          source: contig2

      """
      And I append to "assembly/sequence.fna" with:
      """
      >contig1
      ATGC
      >contig2
      ATGC
      """
     When I run the genomer command with the arguments "simple describe"
     Then the exit status should be 0
      And the output should contain:
     """
     The scaffold contains 2 entries
     """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genomer-0.0.6 features/api/scaffold.feature
genomer-0.0.5 features/api/scaffold.feature