def decipherInput(input):
    """
	resolution input format
	"""
    extension = input.split('.')[-1].lower()
    choice = {'bam': 0, 'sam': 1, 'fasta': 2, 'fastq': 2, 'fa': 2, 'fq': 2}
    return choice[extension]
