Představení ShortRead

Úvod do Bioconductoru v R

Paula Andrea Martinez, PhD.

Data Scientist

Rostlinné genomy

  • Arabidopsis thaliana je malá kvetoucí rostlina
  • První rostlina se sekvenovaným genomem
  • Velikost genomu 135 megabazových párů (Mbp)

Arabidopsis thaliana

Úvod do Bioconductoru v R

Sekvenační společnosti

Loga sekvenátorů

1 Dan Koboldt massgenomics.org
Úvod do Bioconductoru v R

fastq vs fasta

fastq

@ jedinečný identifikátor sekvence

řetězec surové sekvence

+ volitelné id

kódování kvality pro každý znak sekvence
  • fastq, fq

fasta

> jedinečný identifikátor sekvence

řetězec surové sekvence

  • fasta, fa, seq
Úvod do Bioconductoru v 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")
Úvod do Bioconductoru v 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")
Úvod do Bioconductoru v R

fastq vzorek

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)
Úvod do Bioconductoru v R

Jste připraveni!

Úvod do Bioconductoru v R

Preparing Video For Download...