X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=erange.git;a=blobdiff_plain;f=combineRPKMs.py;fp=combineRPKMs.py;h=88b57ab547edeea3f9be5387780796aadbe72bc2;hp=77f30d6fc2acb2a9424634a138a03ee30e314f91;hb=cfc5602b26323ad2365295145e3f6c622d912eb4;hpb=c4561c55cfa9726530c6777b6515c4ef66306b2f diff --git a/combineRPKMs.py b/combineRPKMs.py index 77f30d6..88b57ab 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: QForAli - 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