Skip to content

Instantly share code, notes, and snippets.

https://bioconda.github.io/recipes/rmats/README.html
1) install it via conda
conda install rmats -c bioconda
2) check
which rmats.py
Places where you can find recordings of radio signals with different modulations:
https://www.sdrangel.org/iq-files/
https://www.sdrplay.com/iq-demo-files/
https://lucasteske.dev/satcom-projects/sample-baseband-files
@MartGro
MartGro / conda_dependencies.txt
Created August 30, 2023 12:16
Pangolin Conda Env
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-64
_libgcc_mutex=0.1=main
_openmp_mutex=5.1=1_gnu
argcomplete=3.1.1=pypi_0
argh=0.27.2=pypi_0
biopython=1.79=pypi_0
ca-certificates=2023.7.22=hbcca054_0
certifi=2016.9.26=py36_0
@MartGro
MartGro / RSP1_instructions.md
Last active February 12, 2023 08:44
Getting the RSP1 to run under Ubuntu 20.04
  1. Get the Driver

Download the driver from the following link:

https://www.sdrplay.com/dlfinishs/

  1. Follow the Instructions of CubicSDR

For instructions on how to build CubicSDR on Linux, refer to the following link:

@MartGro
MartGro / napari_image_display_widget.py
Created January 23, 2023 15:11
Simple Image Display Widget in Napari
import sys
from PyQt5.QtWidgets import QApplication, QLabel
from PyQt5.QtGui import QPixmap
class ImageWidget(QLabel):
"""
A QLabel widget that displays an image from a file
"""
def __init__(self, parent=None):
"""
Aligning > 1MB long sequences (e.g. long DNA sequences) can take quite long with Needleman Wunsch
An alternative is using the BWA:
http://bioinformatics-core-shared-training.github.io/cruk-bioinf-sschool/Day1/Sequence%20Alignment_July2015_ShamithSamarajiwa.pdf
#1 Create index:
../bwa-0.7.17/bwa index -p index_path -a bwtsw dna_reference.fasta
./bwa-0.7.17/bwa mem -t 16 index_path dna_of_interest.fasta | ./samtools-1.16.1/samtools sort -o output.bam -
@MartGro
MartGro / extract_roi.py
Last active December 15, 2022 15:41
How to create binary masks from a ImageJ ROI in python (from roi zip files)
# This relies on the read-roi library from here: https://github.com/hadim/read-roi
# Additionally, it requires shapely for the polygons
# And ray for parallelizing
from read_roi import read_roi_zip
import glob
#find all roi zip files
all_zip_path = glob.glob("your_folder/*.zip")
1) Download FlatCAM_beta_8.994_sources
2) Python 3.8
3) Manually install gdal from conda
4) Bug fixes:
- Vector bug fix

Übersicht: https://alte-gemuesesorten-erhalten.de/unsere-sorten/bezugsquellen/


Online-Shop der Samenbau Nordost Kooperative (https://samenbau-nordost.de/shop/?orderby=popularity) (Saatgut von den Betrieben Keimzelle, Landwirtschaftsbetrieb Johannishöhe, Saatgut- und Permakulturgarten Alt-Rosenthal, Saatguterhaltung & Jungpflanzen Albrecht Vetters, Samenbau Grete Peschken)

Online-Shop vom VERN e.V. (https://vern.de/bestellung/saatgut-bestellung) (Saatgut aus dem Erhaltungsgarten des VERN sowie von den Mitgliedsbetrieben Keimzelle, Landwirtschaftsbetrieb Johannishöhe, Saatgut- und Permakulturgarten Alt-Rosenthal, deinHof e.V., Gärtnerei Apfeltraum, Samenbau und Blumen Alexandra Becker)

Online-Shop von Dreschflegel (https://www.dreschflegel-shop.de/) (Saatgut von Samenbau Grete Peschken, Sonnensamen – Saatzucht Marcus Ströhla und weiteren 22 Betrieben)

Online-Shop vom Bio-Lieferservice „Der Landkorb“ (Saatgut vom Betrieb Keimzelle)

A collection of useful tools for simulating solar power installations with python

PVLIB:

https://github.com/pvlib/pvlib-python https://pvlib-python.readthedocs.io/en/stable/index.html

pvlib python is a community supported tool that provides a set of functions and classes for simulating the performance of photovoltaic energy systems. pvlib python was originally ported from the PVLIB MATLAB toolbox developed at Sandia National Laboratories and it implements many of the models and methods developed at the Labs. More information on Sandia Labs PV performance modeling programs can be found at the PVPMC. We collaborate with the PVLIB MATLAB project, but operate independently of it.

Prosumpy

https://github.com/energy-modelling-toolkit/prosumpy