Description
A subworkflow for the final quality control stage of the nf-core/rnaseq pipeline.
Type
nextflow_script
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
id: "run"
strandedness: [ "unstranded" ]
gtf_group_features: [ "gene_id" ]
gtf_extra_attributes: [ "gene_name" ]
skip_qc: [ false ]
skip_align: [ false ]
skip_preseq: [ false ]
extra_preseq_args: [ "-verbose -bam -seed 1" ]
featurecounts_group_type: [ "gene_biotype" ]
featurecounts_feature_type: [ "exon" ]
biotypes_header: [ "src/assets/multiqc/biotypes_header.txt" ]
rseqc_modules:
[
"bam_stat,inner_distance,infer_experiment,junction_annotation,junction_sa\
turation,read_distribution,read_duplication"
]
sample_size: [ 200000 ]
lower_bound_size: [ -250 ]
upper_bound_size: [ 250 ]
step_size: [ 5 ]
map_qual: [ 30 ]
min_intron: [ 50 ]
min_splice_read: [ 1 ]
sampling_percentile_lower_bound: [ 5 ]
sampling_percentile_upper_bound: [ 100 ]
sampling_percentile_step: [ 5 ]
read_count_upper_limit: [ 500 ]
minimum_coverage: [ 10 ]
tin_sample_size: [ 100 ]
output_format: [ "html" ]
pr_bases: [ 100 ]
tr_bias: [ 1000 ]
algorithm: [ "uniquely-mapped-reads" ]
sequencing_protocol: [ "non-strand-specific" ]
java_memory_size: [ "4G" ]
pca_header_multiqc: [ "src/assets/multiqc/deseq2_pca_header.txt" ]
clustering_header_multiqc: [ "src/assets/multiqc/deseq2_clustering_header.txt" ]
extra_deseq2_args: [ "--id_col 1 --sample_suffix '' --outprefix deseq2 --count_col 3" ]
extra_deseq2_args2: [ "star_salmon" ]
preseq_output: "$id.$key.preseq_output"
bamstat_output: "$id.$key.bamstat_output"
strandedness_output: "$id.$key.strandedness_output"
inner_dist_output_stats: "$id.$key.inner_dist_output_stats"
inner_dist_output_dist: "$id.$key.inner_dist_output_dist"
inner_dist_output_freq: "$id.$key.inner_dist_output_freq"
inner_dist_output_plot: "$id.$key.inner_dist_output_plot"
inner_dist_output_plot_r: "$id.$key.inner_dist_output_plot_r"
junction_annotation_output_log: "$id.$key.junction_annotation_output_log"
junction_annotation_output_plot_r: "$id.$key.junction_annotation_output_plot_r"
junction_annotation_output_junction_bed: "$id.$key.junction_annotation_output_junction_bed"
junction_annotation_output_junction_interact: "$id.$key.junction_annotation_output_junction_interact"
junction_annotation_output_junction_sheet: "$id.$key.junction_annotation_output_junction_sheet"
junction_annotation_output_splice_events_plot: "$id.$key.junction_annotation_output_splice_events_plot"
junction_annotation_output_splice_junctions_plot: "$id.$key.junction_annotation_output_splice_junctions_plot"
junction_saturation_output_plot_r: "$id.$key.junction_saturation_output_plot_r"
junction_saturation_output_plot: "$id.$key.junction_saturation_output_plot"
read_distribution_output: "$id.$key.read_distribution_output"
read_duplication_output_duplication_rate_plot_r: "$id.$key.read_duplication_output_duplication_rate_plot_r"
read_duplication_output_duplication_rate_plot: "$id.$key.read_duplication_output_duplication_rate_plot"
read_duplication_output_duplication_rate_mapping: "$id.$key.read_duplication_output_duplication_rate_mapping"
read_duplication_output_duplication_rate_sequence: "$id.$key.read_duplication_output_duplication_rate_sequence"
tin_output_summary: "$id.$key.tin_output_summary"
tin_output_metrics: "$id.$key.tin_output_metrics"
dupradar_output_dupmatrix: "$id.$key.dupradar_output_dupmatrix"
dupradar_output_dup_intercept_mqc: "$id.$key.dupradar_output_dup_intercept_mqc"
dupradar_output_duprate_exp_boxplot: "$id.$key.dupradar_output_duprate_exp_boxplot"
dupradar_output_duprate_exp_densplot: "$id.$key.dupradar_output_duprate_exp_densplot"
dupradar_output_duprate_exp_denscurve_mqc: "$id.$key.dupradar_output_duprate_exp_denscurve_mqc"
dupradar_output_expression_histogram: "$id.$key.dupradar_output_expression_histogram"
dupradar_output_intercept_slope: "$id.$key.dupradar_output_intercept_slope"
qualimap_output_pdf: "$id.$key.qualimap_output_pdf"
qualimap_output_dir: "$id.$key.qualimap_output_dir"
deseq2_output: "$id.$key.deseq2_output"
deseq2_output_pseudo: "$id.$key.deseq2_output_pseudo"
multiqc_report: "$id.$key.multiqc_report"
multiqc_data: "$id.$key.multiqc_data"
multiqc_plots: "$id.$key.multiqc_plots"
featurecounts: "$id.$key.featurecounts"
featurecounts_summary: "$id.$key.featurecounts_summary"
featurecounts_multiqc: "$id.$key.featurecounts_multiqc"
featurecounts_rrna_multiqc: "$id.$key.featurecounts_rrna_multiqc"
tpm_gene: "$id.$key.tpm_gene"
counts_gene: "$id.$key.counts_gene"
counts_gene_length_scaled: "$id.$key.counts_gene_length_scaled"
counts_gene_scaled: "$id.$key.counts_gene_scaled"
tpm_transcript: "$id.$key.tpm_transcript"
counts_transcript: "$id.$key.counts_transcript"
quant_merged_summarizedexperiment: "$id.$key.quant_merged_summarizedexperiment"
pseudo_tpm_gene: "$id.$key.pseudo_tpm_gene"
pseudo_counts_gene: "$id.$key.pseudo_counts_gene"
pseudo_counts_gene_length_scaled: "$id.$key.pseudo_counts_gene_length_scaled"
pseudo_counts_gene_scaled: "$id.$key.pseudo_counts_gene_scaled"
pseudo_tpm_transcript: "$id.$key.pseudo_tpm_transcript"
pseudo_counts_transcript: "$id.$key.pseudo_counts_transcript"
pseudo_quant_merged_summarizedexperiment: "$id.$key.pseudo_quant_merged_summarizedexperiment"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/rnaseq.git \
-revision v0.1.1 \
-main-script target/nextflow/workflows/quality_control/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--id | string required |
--strandedness | string |
--paired | boolean |
--genome_bam | file |
--genome_bam_index | file |
--gene_bed | file |
--gtf | file |
--gtf_group_features | string |
--gtf_extra_attributes | string |
--quant_out_dir | file |
--quant_results_file | file |
--pseudo_quant_out_dir | file |
--pseudo_salmon_quant_results_file | file |
--pseudo_kallisto_quant_results_file | file |
--aligner | string |
--pseudo_aligner | string |
--rsem_counts_gene | file |
--rsem_counts_transcripts | file |
--skip_qc | boolean |
--skip_biotype_qc | boolean |
--skip_align | boolean |
--skip_pseudo_align | boolean |
--skip_preseq | boolean |
--extra_preseq_args | string |
--featurecounts_group_type | string |
--featurecounts_feature_type | string |
--gencode | boolean |
--biotypes_header | file |
--biotype | string |
--extra_featurecounts_args | string |
--rseqc_modules | string multiple |
--sample_size | integer |
--lower_bound_size | integer |
--upper_bound_size | integer |
--step_size | integer |
--map_qual | integer |
--min_intron | integer |
--min_splice_read | integer |
--sampling_percentile_lower_bound | integer |
--sampling_percentile_upper_bound | integer |
--sampling_percentile_step | integer |
--read_count_upper_limit | integer |
--minimum_coverage | integer |
--tin_sample_size | integer |
--subtract_background | boolean_true |
--output_format | string |
--pr_bases | integer |
--tr_bias | integer |
--algorithm | string |
--sequencing_protocol | string |
--sorted | boolean_true |
--java_memory_size | string |
--skip_deseq2_qc | boolean |
--pca_header_multiqc | file |
--clustering_header_multiqc | file |
--deseq2_vst | boolean |
--extra_deseq2_args | string |
--extra_deseq2_args2 | string |
--multiqc_custom_config | file |
--multiqc_title | string |
--multiqc_methods_description | file |
--passed_trimmed_reads | boolean |
--num_trimmed_reads | double |
--passed_mapping | boolean |
--percent_mapped | double |
--fastqc_zip_1 | file |
--fastqc_zip_2 | file |
--trim_zip_1 | file |
--trim_zip_2 | file |
--trim_log_1 | file |
--trim_log_2 | file |
--sortmerna_multiqc | file |
--star_multiqc | file |
--rsem_multiqc | file |
--genome_bam_stats | file |
--genome_bam_flagstat | file |
--genome_bam_idxstats | file |
--markduplicates_multiqc | file |
--pseudo_multiqc | file |
Name | Type & Properties |
|---|---|
--preseq_output | file output |
--bamstat_output | file output |
--strandedness_output | file output |
--inner_dist_output_stats | file output |
--inner_dist_output_dist | file output |
--inner_dist_output_freq | file output |
--inner_dist_output_plot | file output |
--inner_dist_output_plot_r | file output |
--junction_annotation_output_log | file output |
--junction_annotation_output_plot_r | file output |
--junction_annotation_output_junction_bed | file output |
--junction_annotation_output_junction_interact | file output |
--junction_annotation_output_junction_sheet | file output |
--junction_annotation_output_splice_events_plot | file output |
--junction_annotation_output_splice_junctions_plot | file output |
--junction_saturation_output_plot_r | file output |
--junction_saturation_output_plot | file output |
--read_distribution_output | file output |
--read_duplication_output_duplication_rate_plot_r | file output |
--read_duplication_output_duplication_rate_plot | file output |
--read_duplication_output_duplication_rate_mapping | file output |
--read_duplication_output_duplication_rate_sequence | file output |
--tin_output_summary | file output |
--tin_output_metrics | file output |
--dupradar_output_dupmatrix | file output |
--dupradar_output_dup_intercept_mqc | file output |
--dupradar_output_duprate_exp_boxplot | file output |
--dupradar_output_duprate_exp_densplot | file output |
--dupradar_output_duprate_exp_denscurve_mqc | file output |
--dupradar_output_expression_histogram | file output |
--dupradar_output_intercept_slope | file output |
--qualimap_output_pdf | file output |
--qualimap_output_dir | file output |
--deseq2_output | file output |
--deseq2_output_pseudo | file output |
--multiqc_report | file output |
--multiqc_data | file output |
--multiqc_plots | file output |
--featurecounts | file output |
--featurecounts_summary | file output |
--featurecounts_multiqc | file output |
--featurecounts_rrna_multiqc | file output |
--tpm_gene | file output |
--counts_gene | file output |
--counts_gene_length_scaled | file output |
--counts_gene_scaled | file output |
--tpm_transcript | file output |
--counts_transcript | file output |
--quant_merged_summarizedexperiment | file output |
--pseudo_tpm_gene | file output |
--pseudo_counts_gene | file output |
--pseudo_counts_gene_length_scaled | file output |
--pseudo_counts_gene_scaled | file output |
--pseudo_tpm_transcript | file output |
--pseudo_counts_transcript | file output |
--pseudo_quant_merged_summarizedexperiment | file output |