bowtie2 | R Documentation |
This function executes the docker container bowtie2
bowtie2(
group = c("sudo", "docker"),
fastq.folder = getwd(),
scratch.folder = "/data/scratch",
genome.folder,
seq.type = c("se", "pe"),
strandness = c("none", "forward", "reverse"),
threads = 1
)
group |
a character string. Two options: |
fastq.folder |
a character string indicating where gzip fastq files are located |
scratch.folder |
a character string indicating the scratch folder where docker container will be mounted |
genome.folder |
a character string indicating the folder where the indexed reference genome for STAR is located. IMPORTANT the present function only suport genomic indexes made using ensembl genom and the corresponding gtf |
seq.type |
a character string indicating the type of reads to be trimmed. Two options: |
strandness |
a character string indicating the type ofsequencing protocol used for the analysis. Three options: |
threads |
a number indicating the number of cores to be used from the application |
sorted.bam, sorted.bam.bai
Raffaele Calogero
## Not run:
#downloading fastq files
system("wget http://130.192.119.59/public/test_R1.fastq.gz")
system("wget http://130.192.119.59/public/test_R2.fastq.gz")
library(docker4seq)
#running bowtie nostrand pe
bowtie2(group="docker",fastq.folder=getwd(), scratch.folder="/data/scratch/",
genome.folder="/data/genomes/hg38bowtie2/", seq.type="pe", strandness="none",
threads=8)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.