code: def samplenamer(listofdata, indexposition=0):
      
      samplename = listofdata[indexposition].rstrip().replace(" ", "-").replace(".", "-").replace("=", "-")\
          .replace("+", "").replace("/", "-").replace("#", "").replace("---", "-").replace("--", "-")
      return samplename
docs: Tries to replicate the Illumina rules to create file names from 'Sample_Name'
      :param listofdata: a list of data extracted from a file
      :param indexposition: