X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=erange.git;a=blobdiff_plain;f=combineRPKMs.py;h=1e2d2aaedbf3476fc43058500c30c76c2b7c3e03;hp=77f30d6fc2acb2a9424634a138a03ee30e314f91;hb=HEAD;hpb=77dccd7c98d8cdb60caaf178b1123df71ea662c9 diff --git a/combineRPKMs.py b/combineRPKMs.py index 77f30d6..1e2d2aa 100755 --- a/combineRPKMs.py +++ b/combineRPKMs.py @@ -63,6 +63,8 @@ def combineRPKMs(firstfileName, expandedfileName, finalfileName, outfileName, do outfile.write(header) finalfile = open(finalfileName) + #TODO: the output lines are driven by finalfile. If there are genes in the first 2 that + # are not in the finalfile then they will be lost. for line in finalfile: fields = line.strip().split() gene = fields[0] @@ -101,4 +103,4 @@ def getRPKMDict(rpkmFileName, getGIDDict=False): if __name__ == "__main__": - main(sys.argv) + main(sys.argv) \ No newline at end of file