Introductie van ShortRead

Introductie tot Bioconductor in R

Paula Andrea Martinez, PhD.

Data Scientist

Plantgenomen

  • Arabidopsis thaliana is een kleine bloeiende plant
  • Eerste plant met een gesequencet genoom
  • Genoomgrootte 135 megabasenparen (Mbp)

Arabidopsis thaliana

Introductie tot Bioconductor in R

Sequencingbedrijven

Sequencer-logo's

1 Dan Koboldt massgenomics.org
Introductie tot Bioconductor in R

fastq vs fasta

fastq

@ unieke sequentie-ID

ruwe sequentiestring

+ optionele id

kwaliteitscodering per sequentieletter
  • fastq, fq

fasta

> unieke sequentie-ID

ruwe sequentiestring

  • fasta, fa, seq
Introductie tot Bioconductor in R

fasta

library(ShortRead)
# read fasta
fasample <- readFasta(dirPath = "data/", pattern = "fasta")

# print fasample print(fasample)
class: ShortRead
length: 500 reads; width: 50 cycles
# methods accessors
methods(class = "ShortRead")

# Write a ShortRead object writeFasta(fasample, file = "data/sample.fasta")
Introductie tot Bioconductor in R

fastq

library(ShortRead)
# read fastq
fqsample <- readFastq(dirPath = "data/", pattern = "fastq")

# print fqsample fqsample
class: ShortReadQ
length: 500 reads; width: 50 cycles
# methods accessors
methods(class = "ShortReadQ")

# Write a ShortRead object writeFastq(fqsample, file = "data/sample.fastq.gz")
Introductie tot Bioconductor in R

fastq-steekproef

library(ShortRead)

# set the seed to draw the same read sequences every time set.seed(123)
# Subsample of 500 bases sampler <- FastqSampler("data/SRR1971253.fastq", 500)
# save the yield of 500 read sequences sample_small <- yield(sampler)
# Class ShortReadQ class(sample_small) # length 500 reads length(sample_small)
Introductie tot Bioconductor in R

Je bent er klaar voor!

Introductie tot Bioconductor in R

Preparing Video For Download...