View BinaryTreeNode.cs
using System; | |
using System.Collections.Generic; | |
namespace ConsoleApp9 { | |
public class BinaryTreeNode { | |
public int Data { get; } | |
public BinaryTreeNode Left { get; } | |
public BinaryTreeNode Right { get; } | |
public BinaryTreeNode(int data) { |
View BinaryTreeNode.cpp
#include <bits/stdc++.h> | |
using namespace std; | |
struct BinaryTreeNode { | |
int data; | |
BinaryTreeNode* left; | |
BinaryTreeNode* right; | |
}; |
View proteinGroups.txt
This file has been truncated, but you can view the full file.
View proteinGroups.txt
This file has been truncated, but you can view the full file.
View input.json
{"inputs": [[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 |
View getGenBankByTaxonomy.py
from Bio import Entrez | |
import os | |
import gzip | |
""" | |
To avoid problems with an access rate (ex. "HTTP Error 429: Too Many Requests") | |
Read how to get an api-key | |
https://ncbiinsights.ncbi.nlm.nih.gov/2017/11/02/new-api-keys-for-the-e-utilities/ | |
""" | |
Entrez.api_key = '<your api key here>' |
View Snakefile
import os | |
import re | |
GENOME = 'data/22' | |
rule all: | |
input: expand('output/reports/{SAMPLE}', SAMPLE=[os.path.splitext(i)[0] for i in os.listdir('input/') if not i.startswith('.') and i.endswith(".bam")]) | |
output: touch('output/done') | |
rule reference_index: |
View MakeTable.cs
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
namespace ImmunopepModel | |
{ | |
public class Gene | |
{ |
View TensorFlowPbTest.cs
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using TensorFlow; | |
namespace MachineLearning | |
{ |
View MappingProgram.cs
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
public class MappingExample | |
{ | |
private const string UniprotServer = "https://www.uniprot.org/"; |
NewerOlder