New answers tagged python
Assign score to PyRanges from another PyRanges object
I have some inspiration below. It computes a weighted score based on overlap. I need to know what exactly you want the overlap BX and BY to be. Could you post some example data and expected output? <...
Refactoring pandas using an iterator via chunksize
The solution posted by @el_oso and @Corralien here was as follows: if you're already having memory issues reading the file, the below will actually read and write to the new file in chunks. ...
Error while running computeMatrix command in Deeptools
It worked, I installed a the newer version of deeptools, from GitHub: https://github.com/deeptools/deepTools
Generating 3D cartesian coordinates of a peptide and computing van der Waal interactions (1-4 atoms) for a given set of dihedral angles?
The PDB module in Biopython is worth checking out for obtaining angles, distances, torsion angles. It is described from p208 at http://biopython.org/DIST/docs/tutorial/Tutorial.pdf. It doesn't do van ...
Tidying MEGAN Taxonomy for Python/R Analysis
Save the following as a python script (e.g., named splitty.py). Make the script executable by doing chmod +x splitty.py. Then, ...
Top 50 recent answers are included