コード例 #1
0
from plot_utils import cluster_summary_plot, hist_counter

from preprocess import  Preprocessor, ConfigClass
from cluster import Clustering

import socket 

# Work out where data is stored
if socket.gethostname() == 'yildun':
    prefix = '/space/musselle/datasets'
elif socket.gethostname() == 'luca':
    prefix = '/home/musselle/san/data'
elif socket.gethostname() == 'gg-pc6':
    prefix = '/home/musselle/data'

c = ConfigClass()
c.experiment_name = 'sb'
c.clusters_outpath = os.path.join(prefix,'sticklebacks/clusters')

batch_parameters = [ { 'c_thresh' : 0.95},
                    { 'c_thresh' : 0.95, 'maskN' : True},
                    { 'c_thresh' : 0.90},
                    { 'c_thresh' : 0.90, 'maskN' : True},
                    { 'c_thresh' : 0.85},
                    { 'c_thresh' : 0.85, 'maskN' : True},
                   ]

outfiles_list = [] 

for d in batch_parameters:
コード例 #2
0
from plot_utils import cluster_summary_plot, hist_counter

from preprocess import  Preprocessor, ConfigClass
from cluster import Clustering

import socket 

# Work out where data is stored
if socket.gethostname() == 'yildun':
    prefix = '/space/musselle/datasets'
elif socket.gethostname() == 'luca':
    prefix = '/home/musselle/san/data'
elif socket.gethostname() == 'gg-pc6':
    prefix = '/home/musselle/data'

c = ConfigClass()
c.experiment_name = 'gzL6'
c.clusters_outpath = os.path.join(prefix,'gazelles-zebras/clusters')

batch_parameters = [ { 'c_thresh' : 0.95},
                    { 'c_thresh' : 0.95, 'maskN' : True},
                    { 'c_thresh' : 0.90},
                    { 'c_thresh' : 0.90, 'maskN' : True}
                   ]

outfiles_list = [] 

for d in batch_parameters:

    dirname = c.experiment_name + '_clustered_reads'
    outfile = c.experiment_name + '_clustered_reads'
コード例 #3
0
from plot_utils import cluster_summary_plot, hist_counter

from preprocess import Preprocessor, ConfigClass
from cluster import Clustering

import socket

# Work out where data is stored
if socket.gethostname() == "yildun":
    prefix = "/space/musselle/datasets"
elif socket.gethostname() == "luca":
    prefix = "/home/musselle/san/data"
elif socket.gethostname() == "gg-pc6":
    prefix = "/home/musselle/data"

c = ConfigClass()
c.experiment_name = "gzL6"
c.clusters_outpath = os.path.join(prefix, "gazelles-zebras/clusters")

batch_parameters = [
    {"c_thresh": 0.95},
    {"c_thresh": 0.95, "maskN": True},
    {"c_thresh": 0.90},
    {"c_thresh": 0.90, "maskN": True},
]

outfiles_list = []

for d in batch_parameters:

    dirname = c.experiment_name + "_clustered_reads"