View source: R/05_04_assembly_quantification_stringtie.R
| stringtie_assemble | R Documentation | 
Assemble transcripts with StringTie
stringtie_assemble(
  sample_info = NULL,
  qc_table = NULL,
  mappingdir = "results/04_read_mapping",
  gff_path = NULL,
  stringtiedir = "results/05_quantification/stringtie",
  threads = 1
)
sample_info | 
 Data frame of sample metadata created with the
functions   | 
qc_table | 
 Data frame of fastp summary statistics as returned
by   | 
mappingdir | 
 Directory where .bam files are stored.  | 
gff_path | 
 Path to GFF/GTF file with annotations.  | 
stringtiedir | 
 Directory where StringTie output files will be stored.  | 
threads | 
 Number of threads to use. Default: 1.  | 
A 2-column data frame with samples in the first column and status in the second column, with "OK" if transcripts were assembled, and NA otherwise.
data(sample_info)
qc_table <- summary_stats_fastp(system.file("extdata", package = "bears"))
mappingdir <- system.file("extdata", package="bears")
gff_path <- system.file("extdata", "Homo_sapiens.GRCh37.75_subset.gtf",
                        package="bears")
stringtiedir <- tempdir()
if(stringtie_is_installed()) {
    a <- stringtie_assemble(sample_info, qc_table, mappingdir, 
                            gff_path, stringtiedir)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.