# Python module bamtags

Does anyone know this python module, bamtags? I'm using a pipeline (Dovetail Genomics, HiRise) that imports it, but it seems it doesn't exist.

It's impossible to install it and there is no information on the internet. Does anyone know it?

Hirise is a 3 years old pipeline that uses Chromossome Capture (HiC) data to identify misassembled regions in a genome assembly and then rescaffold them. By integrating 2 different sequencing methods, the confidence of the genome assembly is thus increased.

The workflow is free (we only paid for the data generation). Unfortunately I have no idea what the module does, as I find no information on internet and the scripts are poorly documented. f python-reading is correct, it looks like that is an internally defined module (class) which is in here. So basically, it's there. I am not a python expert so maybe others more experience with python development will confirm or deny this.

The only function that is used is the following: BamTags.mate_mapq(aln), which is inside a loop in aln: for aln in sam.fetch(reference=c1)

Thanks, Ricardo

If python-reading is correct, it looks like that is an internally defined module (class) which is in here. So basically, it's there.

Response from poster:

Thank you, guys, so helpful! Yes, that's it. I wasn't aware of the simplicity of import function. I thought it only worked with builtin or pip/conda installed modules. I just had to add the scripts folder to my PATH variable or have the functions in the working directory.