-
Notifications
You must be signed in to change notification settings - Fork 41
Running PHoeNIx
You should have already set up your config file to make sure nextflow knows how to run the programs within PHoeNIx . If you haven't please review the config set up portion of the install page.
PHoeNIx currently only runs on Illumina paired-end reads. Multiple samples can be run using a samplesheet.csv file
nextflow run CDCgov/phoenix -profile <docker/singularity/conda/institute> --input samplesheet.csvYou will need to create a samplesheet with information about the samples you would like to analyze before running the pipeline. Use the --input parameter to specify its location. It has to be a comma-separated file (csv) with at least 3 columns, and a header row as shown in the examples below. DO NOT HAVE ANY SPACES IN THIS FILE. Do make sure the paths are full paths and not relative. For best results use the automated samplesheet creation scripts described in the automated section below.
--input '[path to samplesheet file]'The samplesheet can have as many columns as you desire, however, there is a strict requirement for the first 3 columns to match those defined in the table below.
A final samplesheet file consisting of paired-end data may look something like the one below.
sample,fastq_1,fastq_2
SAMPLE_1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz
SAMPLE_2,AEG588A2_S2_L002_R1_001.fastq.gz,AEG588A2_S2_L002_R2_001.fastq.gz
SAMPLE_3,AEG588A3_S3_L002_R1_001.fastq.gz,AEG588A3_S3_L002_R2_001.fastq.gz| Column | Description |
|---|---|
sample |
Custom sample name. This entry will be identical for multiple sequencing libraries/runs from the same sample. Spaces in sample names are automatically converted to underscores (_). |
fastq_1 |
Full path to FastQ file for Illumina short reads 1. File has to be gzipped and have the extension ".fastq.gz" or ".fq.gz". |
fastq_2 |
Full path to FastQ file for Illumina short reads 2. File has to be gzipped and have the extension ".fastq.gz" or ".fq.gz". |
An example samplesheet has been provided with the pipeline and can be used for testing.
A script is available to create a samplesheet from a directory of fastq files. The script will search 1 directory deep and attempt to determine sample id names and pairing/multilane information and will automatically create a samplesheet.
- Please review the samplesheet for accuracy before using it in the pipeline.phoenix/bin/create_samplesheet.sh <directory of fastq files> > samplesheet.csvThe output of PHoeNIx is structured like the following:
π¦results
β£ π2021GO-01830
β β£ πANI
β β β£ πmash_sketch
β β β β£ π2021GO-01830.mash_stats
β β β β π2021GO-01830.msh
β β β π2021GO-01830.ani.txt
β β£ πAssembly
β β β£ π2021GO-01830.assembly.gfa.gz
β β β£ π2021GO-01830.contigs.fa.gz
β β β£ π2021GO-01830.scaffolds.fa.gz
β β β π2021GO-01830.spades.log
β β£ πBUSCO
β β β£ π2021GO-01830-auto-busco.batch_summary.txt
β β β£ πshort_summary.generic.bacteria_odb10.2021GO-01830.scaffolds.fa.json
β β β£ πshort_summary.generic.bacteria_odb10.2021GO-01830.scaffolds.fa.txt
β β β£ πshort_summary.specific.enterobacterales_odb10.2021GO-01830.scaffolds.fa.json
β β β πshort_summary.specific.enterobacterales_odb10.2021GO-01830.scaffolds.fa.txt
β β£ πassemblies500plus
β β β£ π2021GO-01830.formatted.scaffolds.fa.gz
β β β π2021GO-01830.reformat.log
β β£ πfastp_singles
β β β£ π2021GO-01830.fastp.html
β β β£ π2021GO-01830.fastp.json
β β β£ π2021GO-01830_1.trim.fastq.gz
β β β π2021GO-01830_2.trim.fastq.gz
β β£ πfastp_trimd
β β β£ π2021GO-01830.fastp.html
β β β£ π2021GO-01830.fastp.json
β β β£ π2021GO-01830.merged.fastq.gz
β β β£ π2021GO-01830_1.fail.fastq.gz
β β β£ π2021GO-01830_1.trim.fastq.gz
β β β£ π2021GO-01830_2.fail.fastq.gz
β β β π2021GO-01830_2.trim.fastq.gz
β β£ πfastqc_stats
β β β£ π2021GO-01830_1_fastqc.html
β β β£ π2021GO-01830_1_fastqc.zip
β β β£ π2021GO-01830_2_fastqc.html
β β β π2021GO-01830_2_fastqc.zip
β β£ πgamma_ar
β β β£ π2021GO-01830.gamma
β β β π2021GO-01830.psl
β β£ πgamma_prep
β β β π2021GO-01830.formatted.scaffolds.fa
β β£ πgamma_s
β β β£ π2021GO-01830.gamma
β β β π2021GO-01830.psl
β β£ πhyper_virulence
β β β£ π2021GO-01830.gamma
β β β π2021GO-01830.psl
β β£ πkraken2_asmbld
β β β£ π2021GO-01830.classified.fastq.gz
β β β£ π2021GO-01830.kraken2.classifiedreads.txt
β β β£ π2021GO-01830.kraken2.report.txt
β β β π2021GO-01830.unclassified.fastq.gz
β β£ πkraken2_trimd
β β β£ π2021GO-01830.classified_1.fastq.gz
β β β£ π2021GO-01830.classified_2.fastq.gz
β β β£ π2021GO-01830.kraken2.classifiedreads.txt
β β β£ π2021GO-01830.kraken2.report.txt
β β β£ π2021GO-01830.unclassified_1.fastq.gz
β β β π2021GO-01830.unclassified_2.fastq.gz
β β£ πmlst
β β β π2021GO-01830.tsv
β β£ πquast
β β β πreport.tsv
β β£ πremovedAdapters
β β β£ π2021GO-01830.bbduk.log
β β β£ π2021GO-01830_1.fastq.gz
β β β π2021GO-01830_2.fastq.gz
β β πsrst2
β β β£ π1085__blaIMP__blaIMP-27_NG_049191.1__03859__beta-lactam__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β£ π124__sat2_gen__sat2_gen_NG_051936.1__05541__streptothricin__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β£ π2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β£ π2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.sorted.bam
β β β£ π2021GO-01830__fullgenes__ResGANNCBI_20210507_srst2__results.txt
β β β£ π2021GO-01830__genes__ResGANNCBI_20210507_srst2__results.txt
β β β£ π238__tet(59)__tet(59)_NG_056044.1__01798__tetracycline__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β£ π486__aadA1__aadA1_NG_047327.1__03489__aminoglycoside__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β£ π967__aadA15__aadA15_NG_047338.1__04467__aminoglycoside__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β β β π970__aadA11__aadA11_NG_051873.1__03942__aminoglycoside__NCBI.2021GO-01830__2021GO-01830.ResGANNCBI_20210507_srst2.pileup
β£ πmultiqc
β β£ πmultiqc_data
β β β£ πmqc_fastqc_per_base_n_content_plot_1.txt
β β β£ πmqc_fastqc_per_base_sequence_quality_plot_1.txt
β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Counts.txt
β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Percentages.txt
β β β£ πmqc_fastqc_per_sequence_quality_scores_plot_1.txt
β β β£ πmqc_fastqc_sequence_counts_plot_1.txt
β β β£ πmqc_fastqc_sequence_duplication_levels_plot_1.txt
β β β£ πmqc_fastqc_sequence_length_distribution_plot_1.txt
β β β£ πmultiqc.log
β β β£ πmultiqc_data.json
β β β£ πmultiqc_fastqc.txt
β β β£ πmultiqc_general_stats.txt
β β β πmultiqc_sources.txt
β β£ πmultiqc_plots
β β β£ πpdf
β β β β£ πmqc_fastqc_per_base_n_content_plot_1.pdf
β β β β£ πmqc_fastqc_per_base_sequence_quality_plot_1.pdf
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Counts.pdf
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Percentages.pdf
β β β β£ πmqc_fastqc_per_sequence_quality_scores_plot_1.pdf
β β β β£ πmqc_fastqc_sequence_counts_plot_1.pdf
β β β β£ πmqc_fastqc_sequence_counts_plot_1_pc.pdf
β β β β£ πmqc_fastqc_sequence_duplication_levels_plot_1.pdf
β β β β πmqc_fastqc_sequence_length_distribution_plot_1.pdf
β β β£ πpng
β β β β£ πmqc_fastqc_per_base_n_content_plot_1.png
β β β β£ πmqc_fastqc_per_base_sequence_quality_plot_1.png
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Counts.png
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Percentages.png
β β β β£ πmqc_fastqc_per_sequence_quality_scores_plot_1.png
β β β β£ πmqc_fastqc_sequence_counts_plot_1.png
β β β β£ πmqc_fastqc_sequence_counts_plot_1_pc.png
β β β β£ πmqc_fastqc_sequence_duplication_levels_plot_1.png
β β β β πmqc_fastqc_sequence_length_distribution_plot_1.png
β β β πsvg
β β β β£ πmqc_fastqc_per_base_n_content_plot_1.svg
β β β β£ πmqc_fastqc_per_base_sequence_quality_plot_1.svg
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Counts.svg
β β β β£ πmqc_fastqc_per_sequence_gc_content_plot_Percentages.svg
β β β β£ πmqc_fastqc_per_sequence_quality_scores_plot_1.svg
β β β β£ πmqc_fastqc_sequence_counts_plot_1.svg
β β β β£ πmqc_fastqc_sequence_counts_plot_1_pc.svg
β β β β£ πmqc_fastqc_sequence_duplication_levels_plot_1.svg
β β β β πmqc_fastqc_sequence_length_distribution_plot_1.svg
β β πmultiqc_report.html
β πpipeline_info
β β£ πexecution_report_2022-05-31_13-00-00.html
β β£ πexecution_timeline_2022-05-31_13-00-00.html
β β£ πexecution_trace_2022-05-31_13-00-00.txt
β β£ πpipeline_dag_2022-05-31_13-00-00.svg
β β£ πsamplesheet.valid.csv
β β πsoftware_versions.yml
This is the case for running one sample.
To run Q-H on an HPC and submit jobs to a cluster you will need to make config file for your executor. We provide a template in the conf folder to edit. Then run the program by running:
nextflow run CDCgov/phoenix -profile singularity,custom_HPC --input samplesheet.csvDISCLAIMER: The identification methods used and the data summarized are for public health surveillance or investigational purposes only and must NOT be communicated to the patient, their care provider, or placed in the patientβs medical record. These results should NOT be used for diagnosis, treatment, or assessment of individual patient health or management.
- Home
- Dependencies and Install
- Running PHoeNIx
- Pipeline Overview
- Documentation for Databases
- Running PHoeNIx on Different Systems
- Versioning Control and Reproducibility
- Troubleshooting
- Guidance
- Contributing and Issues
- Beta Testing