- Go to the video’s URL
- Right-Click on the video and select “Copy link and thumbnail”
- Open a notepad and paste the link you just copied.
- Search for a link that contains
?wvideo=<id>
, where the appended<id>
is the video identifier code. - Copy that the video identifier code in notepad, and append it to this link:
http://fast.wistia.net/embed/iframe/<id>
- Open up a new browser tab using the newly created link, and the video will load full-screen.
- Use the developers tools to open up and view the source-code of the new video in another tab.
- Search for the first link/URL that ends in “.bin”
- Copy and paste that link into a new tab, and then replace the “.bin” with “.mp4”, and hit enter.
- The video should now be able to download the video.
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
{ | |
"name": "md5check", | |
"title": "MD5 checksum", | |
"summary": "Generate MD5 checksum of one or more files and save the output info in a text file. Hard timeout policy for 10hrs.Use batch input processing or instance of large storage if you have large amount of data to process. Questions go to [email protected]", | |
"dxapi": "1.0.0", | |
"version": "0.0.1", | |
"inputSpec": [ | |
{ | |
"name": "i_put", | |
"label": "Input File(s)", |
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
/// A record of output from VarDict/VarDictJava run in amplicon-aware mode. | |
#[derive(Debug, Deserialize)] | |
struct AmpliconVariant<'a> { | |
pub sample: &'a str, | |
pub interval_name: &'a str, | |
pub contig: &'a str, | |
pub start: u64, | |
pub end: u64, | |
pub ref_allele: &'a str, |
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 ruby | |
# gem install active_support | |
require 'active_support/inflector' | |
require 'active_support/core_ext/string' | |
# gem install webrick (only ruby3) | |
require 'webrick' | |
# gem install mechanize |
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
package com.twinstrandbio.math | |
import breeze.util.BloomFilter | |
import com.fulcrumgenomics.commons.util.SimpleCounter | |
import scala.reflect.runtime.{universe => ru} | |
/** Methods for counting. */ | |
object Counter { |
Fooled by the timezone you live in?
EDT - implicit
❯ aws s3 ls s3://example-ngs-data/30-415555663/ | head -n1
2020-10-14 17:57:17 24784494053 sample-1_S21_L003_R1_001.fastq.gz
PDT - explicit
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
object SampleUtil { | |
/** Join all of the data across a collection of samples. All fields will be joined on the delimiter `";"`. Regardless | |
* of the lanes the libraries were sequenced on, the resulting sample will have the lanes field cleared to [[None]]. | |
* The merged sample will have its ordinal set to zero. | |
* | |
* @throws IllegalArgumentException when there are no libraries to merge | |
* @throws IllegalArgumentException when trying to join samples with different sample names | |
*/ | |
def merge(samples: Seq[Sample]): Sample = { |
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
# After a `pip install sample-sheet pendant` | |
from sample_sheet import SampleSheet | |
from pendant.aws.s3 import S3Uri | |
def s3_validate_sample_sheet(path): | |
for sample in SampleSheet(path): | |
left = S3Uri(sample.PathToFastq1) | |
right = S3Uri(sample.PathToFastq2) | |
assert left.object_exists() |
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
# Requires the STAR executable to be at: | |
# /pipeline/packages/star | |
# | |
# Overhang is set to the read length (template cycles) of 142 - 1: | |
# | |
OVERHANG=141 | |
git clone \ | |
https://github.com/dpryan79/ChromosomeMappings.git \ |
The International Nucleotide Sequence Database Collaboration (INSDC) consists of the DNA DataBank of Japan (DDBJ), the European Molecular Biology Laboratory (EMBL) and GenBank at NCBI. As part of the Collaboration, all three organizations accept new sequence submissions and share sequence data among the three databases. To facilitate the exchange of data, each member of the collaboration is assigned certain accession prefixes. In addition to the accession number, GenBank records also have a GI number. The GI number is simply a series of digits assigned consecutively to sequences submitted to NCBI.