This file contains 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
#!/bin/bash | |
brew install python@3.10 azure-functions-core-tools@4 jq | |
# Core tool installation path if installed with Homebrew | |
directory="/opt/homebrew/Cellar/azure-functions-core-tools@4" | |
# Use 'find' to locate directories starting with '4.' and sort by modification time | |
latest_directory=$(find "$directory" -type d -name "4.*" | sort -n | tail -1) | |
python_worker_dir=$latest_directory/workers/python |
This file contains 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
# Author: Mohamed Moselhy | |
# April 14 2019 | |
import requests | |
from bs4 import BeautifulSoup | |
import urllib3 | |
from progress.bar import Bar | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
This file contains 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/python | |
## BY: MOHAMED HESHAM MOSELHY | |
## OUTPUT A LIST OF TRAJECTORY FILES THAT START AT starttime AND ENDS WITH endtime | |
## Assumes that all the trajectory files correspond to checkpoint files with the same prefix | |
## For example: 1.trr or 2.###trr (where ### is anything or nothing) correspond to 1.cpt and 2.cpt, respectively | |
## Usage: filterTrj.py starttime endtime [outputfile - optional] | |
## Time units for start and end times are in picoseconds | |
## outputfile will be overridden if it exists |
This file contains 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 python | |
import sys | |
import os | |
if len(sys.argv) != 4: | |
print("Usage: {} (string)filename.fastq (string)readID (int)numreads".format(sys.argv[0])) | |
sys.exit(1) | |
filepath = sys.argv[1] |
This file contains 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 python | |
# -*- coding: UTF8 -*- | |
""" | |
author: Guillaume Bouvier | |
email: guillaume.bouvier@ens-cachan.org | |
creation date: 2014 04 29 | |
license: GNU GPL | |
Please feel free to use and modify this, but keep the above information. | |
Thanks! | |
""" |