Create a class to handle mapping extension to ucsc view attributes.
authorDiane Trout <diane@caltech.edu>
Wed, 3 Nov 2010 23:59:07 +0000 (16:59 -0700)
committerDiane Trout <diane@caltech.edu>
Wed, 3 Nov 2010 23:59:07 +0000 (16:59 -0700)
commitb7ecf4687e9f62880caa1cdeda904b45e04ee09b
tree9d4feae41d7f31e713f38a53cbab24ea3b318bd4
parent7f69c48a6a4e47df54d2fdc7a7e8c8b5ab86a822
Create a class to handle mapping extension to ucsc view attributes.

This will attempt to guess if a library is paired end by seeing
if there are more paired end lanes than single read lanes.

The file exention matching was changed to use fnmatch instead of
ends with.

I still haven't added the ability to define extensions to ucsc DAF
view maps in a config file, as I don't know how to handle the case
of the .bam file that goes to a different view depending on if its
a paired end vs single end.

Also the ucsc_gather script is too long and parts of it need
to migrate into the rest of the htsworkflow tree.
extra/ucsc_encode_submission/test_ucsc_gather.py [new file with mode: 0644]
extra/ucsc_encode_submission/ucsc_gather.py