Skip to content

Instantly share code, notes, and snippets.

View ipetrushin's full-sized avatar

Ivan Petrushin ipetrushin

View GitHub Profile
@Khrastiik
Khrastiik / input.txt
Created December 7, 2020 15:28
Текст -> Речь
Здравствуйте, я сделал данное задание, оно работает
from svgwrite import *
# genomLength = int(input())
# чтение начальных данных
genomLength = 28000000
genomFile = open("D:\Работа\ФСиР\Геном_иллюстрации\gen.txt", "r")
stringsGenom = genomFile.readlines()
genomFile.close()
# создание графического файла
n = 1
@shadz3rg
shadz3rg / gost_engine.sh
Created October 15, 2018 11:19
Настройка ГОСТ OpenSSL под Ubuntu 18.04
# Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-36-generic x86_64)
# (из коробки) OpenSSL 1.1.0g 2 Nov 2017
# (из коробки) curl 7.58.0 (x86_64-pc-linux-gnu)
# PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
# Компилим GOST-engine
sudo apt install cmake libssl-dev
git clone --branch=openssl_1_1_0 https://github.com/gost-engine/engine.git gost-engine/engine
cd gost-engine/engine
cmake .
@khorpy
khorpy / find_max.py
Created July 27, 2018 16:52
Задача о сравнении подходов
import random
from collections import defaultdict
from functools import reduce
from timeit import timeit
from itertools import groupby
from operator import itemgetter
from statistics import mean
AMAX = 65
@darencard
darencard / maker_genome_annotation.md
Last active March 7, 2024 08:50
In-depth description of running MAKER for genome annotation.

Please see the most up-to-date version of this protocol on my blog at https://darencard.net/blog/.

Genome Annotation using MAKER

MAKER is a great tool for annotating a reference genome using empirical and ab initio gene predictions. GMOD, the umbrella organization that includes MAKER, has some nice tutorials online for running MAKER. However, these were quite simplified examples and it took a bit of effort to wrap my head completely around everything. Here I will describe a de novo genome annotation for Boa constrictor in detail, so that there is a record and that it is easy to use this as a guide to annotate any genome.

Software & Data

Software prerequisites:

  1. RepeatModeler and RepeatMasker with all dependencies (I used NCBI BLAST) and RepBase (ver
@aallan
aallan / mac-vendor.txt
Last active July 13, 2024 23:08
List of MAC addresses with vendors identities
000000 Officially Xerox
000001 SuperLAN-2U
000002 BBN (was internal usage only, no longer used)
000003 XEROX CORPORATION
000004 XEROX CORPORATION
000005 XEROX CORPORATION
000006 XEROX CORPORATION
000007 XEROX CORPORATION
000008 XEROX CORPORATION
000009 powerpipes?
@iamtekeste
iamtekeste / Download Google Drive files with WGET
Created July 8, 2015 11:00
Download Google Drive files with WGET
Download Google Drive files with WGET
Example Google Drive download link:
https://docs.google.com/open?id=[ID]
To download the file with WGET you need to use this link:
https://googledrive.com/host/[ID]
Example WGET command:
@Su-Shee
Su-Shee / gist:5d1a417fa9de19c15477
Last active June 23, 2024 13:15
Falsehoods Programmers Believe About "Women In Tech"

Falsehoods Programmers Believe About "Women In Tech"

  • We have absolutely no idea what we're doing in tech. Please explain the utmost basic things to us.

  • We only do web design. Our whole reason of being in tech is to make things pretty. Consider us the doilies of the industry.

  • We're not laughing about your joke, so we clearly need you explain it to us. In great detail.

  • We're only in tech to find a husband, boyfriend or generally to get laid.

This readme should help you get started with "pfam_scan.pl", which is for use
with the HMMER3 version of HMMER.
--------------------------------------------------------------------------------
- Setting up -------------------------------------------------------------------
--------------------------------------------------------------------------------
Unpack the script
=================
@thaJeztah
thaJeztah / docker-examples.md
Last active January 14, 2024 02:00
Some docker examples

Commit, clone a container

To 'clone' a container, you'll have to make an image of that container first, you can do so by "committing" the container. Docker will (by default) pause all processes running in the container during commit to preserve data-consistency.

For example;

docker commit --message="Snapshot of my container" my_container my_container_snapshot:yymmdd