예제 #1
0
파일: test.py 프로젝트: cgreer/cgNexus
def testAutoLoad(fN, ff):

    NX = Nexus(fN, ff)

    print 'START LOOPING'
    while NX.nextID():

        NX.isCoding = True
        NX.otherIDs = range(10)
        NX.geneName = "testAuto"
        NX.numReads = 300

    NX.save()
예제 #2
0
파일: test.py 프로젝트: cgreer/cgNexus
def testQuickLoad(fN):

    ff = ['1 geneName string .',
          '3 otherIDs intList .',
          '4 isCoding bool F'
         ]
    NX = Nexus(fN, ff)

    while NX.nextID():

        NX.isCoding = True
        NX.otherIDs = range(18)
        NX.geneName = "testAuto"
        
    NX.save()