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 | |
# Copyright (c) 2014 Lenna X. Peterson, all rights reserved | |
# [email protected] | |
import argparse | |
import csv | |
import glob | |
import logging | |
import math | |
import os |
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 python3 | |
# -*- coding: utf-8 -*- | |
# Copyright 2015 Lenna X. Peterson | |
# All rights reserved | |
import os | |
import socket | |
import subprocess | |
import sys |
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
sbjct_aln = "C-GGLK-GAPFLAC" | |
query_aln = "CHG--KTGASFLQC" | |
gap = "-" | |
sbjct_idx = -1 | |
query_idx = -1 | |
for sbjct_resn, query_resn in zip(sbjct_aln, query_aln): | |
# Check for gaps |
OlderNewer