33 lines
737 B
Python
33 lines
737 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
Created on Wed Aug 19 14:33:51 2020
|
|
|
|
@author: tanu
|
|
"""
|
|
#%% load packages
|
|
import os,sys
|
|
import subprocess
|
|
import argparse
|
|
import requests
|
|
import re
|
|
import time
|
|
from bs4 import BeautifulSoup
|
|
import pandas as pd
|
|
from pandas.api.types import is_string_dtype
|
|
from pandas.api.types import is_numeric_dtype
|
|
#%%============================================================================
|
|
homedir = os.path.expanduser('~')
|
|
print(homedir)
|
|
|
|
my_mutation_list = homedir + '/git/LSHTM_analysis/dynamut/test_input/snp_test2.csv'
|
|
|
|
text_file = open(my_mutation_list, 'r')
|
|
lines = text_file .read().split('\n')
|
|
print (lines)
|
|
print(len(lines))
|
|
|
|
|
|
def get_results(url_file
|
|
, mutation_list)
|
|
|