@@ -0,0 +1,550 @@
+from CountXmlUtils import readCountXmlQueries%0Afrom DupCountUtils import readDupCountQueries%0Afrom FastqUtils import readFastqQueries%0A%0Adef readQueries(fileName, minCount):%0A  result = %7B%7D%0A  if fileName.endswith(%22.xml%22):%0A    return readCountXmlQueries(fileName, minCount)%0A  elif fileName.endswith(%22.dupcount%22):%0A    return readDupCountQueries(fileName, minCount)%0A  elif fileName.endswith(%22.fastq.gz%22) or fileName.endswith(%22.fastq.short.gz%22):%0A    return readFastqQueries(fileName, minCount)%0A  else:%0A    raise Exception(%22Unknow file format %25s%22 %25 fileName)%0A  

read query item from file(count xml, dupcount or fastq)