Author: onestop_data

Data Scientist who loves to share some knowledge on the field.

Python

Upload Python Package to PyPi – Step-by-Step

by:

This tutorial will teach you how to upload a Python Package to PyPi and show all the requirements needed to get this done.

BioinformaticsUnix

How to Create a RamDisk on Linux – Step-by-Step

by:

This tutorial will teach you how to create a ram disk on a Linux distribution and unmount it when needed. This lesson can be used to …

Docker

How to Backup a Docker Container and Restore it – Step-by-Step

by:

Here, you will learn how to backup and restore a Docker container locally – an alternative approach to push and pull the container from Docker Hub. …

Unix

The Simplest Way to Terminate a Unix Screen Session

by:

This tutorial shows how to terminate a Unix screen session. It can accomplish it most of the time by calling the exist command; however, the command …

Machine Learning

Painless Kmeans in Python – Step-by-Step with Sklearn

by:

This tutorial shows how to use k-means clustering in Python using Scikit-Learn, installed using bioconda.

Bioinformatics

Calculate DNA Melting Temperature in Python – Step-by-Step

by:

This tutorial shows how to calculate DNA melting temperature (Tm) in Python using Biopython, installed using bioconda.

Bioinformatics

Masking Low Complexity Regions – Step-by-Step

by:

This tutorial teaches how to mask low complexity regions in a FASTA file using BBMap.

Machine LearningPython

Simple R Squared Calculation in Python

by:

This short tutorial shows how to find the R squared value in Python using sklearn, which can be helpful when looking at the data correlation in …

Bioinformatics

Fast FASTA/FASTQ Random Subsampling

by:

This short tutorial teaches how to subsample a paired FASTQ, single FASTQ, pair FASTA, or single FASTA file to a specific number of reads. This can …

Data visualization

Heatmap Plotting in Python – The Simplest Way

by:

This short tutorial teaches how to use Python seaborn, which relies on matplotlib to plot a heatmap the most straightforward way.