Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
"""Filters sequences based on the pls.h5 file, removing apparently | |
doubly loaded wells and unloaded wells. | |
Note: The 'chunking' (i.e., chunkFunc) in the task decorator must be | |
consistent for each instance of SMRTFile. In other words, inputPlsFofn must be | |
scattered using the same function in *every* P_module. Therefore, the | |
chunkFunc must be set to context.numMovies. | |
""" |
This file contains hidden or 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 | |
"""Get a List of Runs from SMRT Link""" | |
# From:http://bitbucket.nanofluidics.com:7990/projects/SL/repos/pbcommand/browse/pbcommand/cli/examples/template_simple.py | |
import os | |
import sys | |
import logging | |
from pbcommand.validators import validate_file | |
from pbcommand.utils import setup_log |
This file contains hidden or 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
import datetime | |
import json | |
import copy | |
import time | |
import functools | |
import itertools | |
import pickle | |
import requests | |
import iso8601 |
This file contains hidden or 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
// Run with ammonite use amm ExampleCatsMonoid.sc | |
// import $ivy.`org.typelevel::cats-core:1.0.1` | |
import cats.implicits._ | |
import cats.instances.all._ | |
import cats.Monoid | |
// For demonstration purposes, load a file (csv, json) and | |
// each item can be converted to a record of type R | |
case class R(name: String, age: Int, favoriteColor: String) |