xapple / track

Provides easy read/write access to genomic tracks
http://xapple.github.com/track/
GNU General Public License v3.0
22 stars 3 forks source link

Round-trip conversion for GTF files #1

Closed bow closed 11 years ago

bow commented 11 years ago

I noticed when trying to use track to parse GTF files that the round-trip conversion have some unexpected behaviors. More specifically:

This pull request mainly addresses those four behaviors:

Along with those changes, I also:

All GTF test passes in my box. There are errors, but they seem to be unrelated to my changes (they were there even before I made any changes):

  1. ERROR: runTest (track.test.format_gzip.TestWithoutExtension): OSError: [Errno 2] No such file or directory: '/home/bow/devel/repos/watch/track/samples/gzip/features4.gzip'
  2. ERROR: custom_boolean (track.test.manipulate.TestManips): ImportError: No module named gMiner.manipulate
  3. FAIL: runTest (track.test.format_bigwig.TestRoundtrip): AssertionError: The files: '/home/bow/devel/repos/watch/track/samples/bigwig/scores2.bigwig' and '/tmp/tmpcS7V1k.bigwig' differ

Any thoughts on the changes :)?