This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is the assumed sequence: https://www.ncbi.nlm.nih.gov/nuccore/U25676.1 | |
| Pydnaweb PCR simulation with original primers: | |
| --- | |
| limit: 13 | |
| --- | |
| # pcr | |
| | Component | Name | Size | Seguid | | |
| |-------------|----------------|--------|--------------------------------------| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Clean underscored aliases while preserving original line breaks/spacing. | |
| Rules | |
| ----- | |
| 1) from X import Name as _Name -> from X import Name (and _Name → Name) | |
| 2) import pkg as _pkg -> import pkg (and _pkg → pkg) | |
| 3) import networkx as _nx -> import networkx as nx (and _nx → nx) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| # | |
| # Git pre-commit hook for obsidian.ms or other collections of markdown files. | |
| # This hook works with obsidian-git https://github.com/denolehov/obsidian-git | |
| # | |
| # An hook script to verify what is about to be committed. | |
| # This script is called by "git commit" with no arguments. | |
| # The hook should exit with non-zero status after issuing an appropriate message if it wants to stop the commit. | |
| # | |
| # Usage: Remove the .sh file extension when you put the script in your hooks folder! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (C) 2011-2017 Alexis Bienvenue <[email protected]> | |
| This file is part of Auto-Multiple-Choice | |
| Auto-Multiple-Choice is free software: you can redistribute it | |
| and/or modify it under the terms of the GNU General Public License | |
| as published by the Free Software Foundation, either version 2 of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/home/bjorn/miniforge3/envs/bjorn311/bin python3 | |
| # -*- coding: utf-8 -*- | |
| # https://pdfstandalone.com/en/merge-pdf | |
| import sys | |
| from pathlib import Path | |
| from borb.pdf.document.document import Document | |
| from borb.pdf.pdf import PDF | |
| from tqdm import tqdm | |
| script, *cliarg = sys.argv |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pathlib import Path | |
| import urllib | |
| import re, os | |
| from urllib.parse import urlparse | |
| from string import punctuation | |
| # I used this script in 2023 to convert a wikidpad wiki into a Obsidian.md wiki | |
| # The wikidpad wiki has to be in the "original sqlite" format ie a collection of text files | |
| # The script was run and tweaked and was not run or tested on more than one wiki. | |
| # If you use this, be sure to run this script on a copy of the files as the files are modified |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Flow Cytometry Standard file format --> csv | |
| # https://stackoverflow.com/questions/70348405/how-to-convert-lmd-file-to-csv-flow-cytometry-data | |
| # https://pypi.org/project/fcsparser/ | |
| """ | |
| This script collects all files in the same directory as the script (or cwd) with | |
| the file ending "fcs". These files are assumed to be in the Flow Cytometry Standard file format | |
| anhd converted to CSV using pandas, and fcsparser. To install requirements: | |
| pip install fcsparser pandas |
NewerOlder