extracting single mut url from the batch processing step
This commit is contained in:
parent
5d6ddb7639
commit
2e047fd548
2 changed files with 95 additions and 10 deletions
33
dynamut/get_results_def.py
Normal file
33
dynamut/get_results_def.py
Normal file
|
@ -0,0 +1,33 @@
|
|||
#!/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)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue