[gt-users] python tests and splitfasta

Brent Pedersen bpederse at gmail.com
Thu Apr 16 17:29:19 CEST 2009


hi, i'm attaching a patch to update the python tests for recent change
to use create_new() rather than __init__()
i also added a property for attribs as i think that's convenient.


i would like to add an option to the splitfasta command-line tool so
that the targetsize can be specified in basepairs rather
than MB, and another option to allow overlapping of sequences-- so it
can take a huge chromosome and e.g. split it into
1megabase chunks with 10Kbp overlapping at the ends.

i think the syntax would look like:

gt splitfasta -splitbp -targetsize 1000000  -overlap 10000

so splitbp is bool flag to tell it not to bp rather than mb.
does this seem reasonable and/or would a patch be accepted for adding that?

thanks,
-brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update_py_tests_for_create_new.patch
Type: text/x-diff
Size: 1993 bytes
Desc: not available
Url : http://genometools.org/pipermail/gt-users/attachments/20090416/6e5b3c59/attachment.bin 


More information about the gt-users mailing list