Skip to content

msneddon/ContigFilter

Repository files navigation

ContigFilter


This repo is a simple example of a functional KBase module. It defines one method that accepts an Assembly and a length parameter, and creates a new Assembly that has all contigs less than the specified length removed.

Rough set of steps to build this repo from scratch:

kb-sdk init -e -u msneddon -l python ContigFilter

cd ContigFilter

git init
git add .
git commit -m 'initial commit'
git remote add origin [email protected]:msneddon/ContigFilter
git push -u origin master

make

Edit test_local/test.cfg with test user and password, then:

kb-sdk test

Add, commit, push autogenerated lib files (ie, js, java, perl, py clients, and py implementation)

Edit ContigFilter.spec to change the example function specification, then:

make

Update the Narrative Method Specification (ui/narrative/methods/), then:

kb-sdk validate

Actually code up the implementation in lib/ContigFilter/ContigFilterImpl.py.

Update tests in test/ContigFilter_server_test.py

kb-sdk test

About

A KBase SDK example module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published