-
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 already, 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/custom> --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 must be a comma-separated file (csv) with at least 3 columns and a header row, as shown in the example 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.csvYou can change the name of the samplesheet.csv above to anything you want.
The output of PHoeNIx is structured like the following:
π¦results
β£ πSRR13183128
β β£ πANI
β β β£ πfastANI
β β β β πSRR13183128.fastANI.txt
β β β£ πmash_dist
β β β β£ πSRR13183128.txt
β β β β πSRR13183128_best_MASH_hits.txt
β β β πSRR13183128.ani.txt
β β£ πAssembly
β β β£ πSRR13183128.assembly.gfa.gz
β β β£ πSRR13183128.bbmap_filtered.log
β β β£ πSRR13183128.contigs.fa.gz
β β β£ πSRR13183128.filtered.scaffolds.fa.gz
β β β£ πSRR13183128.scaffolds.fa.gz
β β β£ πSRR13183128.spades.log
β β β πwarnings.log
β β£ πBUSCO
β β β£ πSRR13183128-auto-busco.batch_summary.txt
β β β£ πshort_summary.generic.bacteria_odb10.SRR13183128.scaffolds.fa.json
β β β£ πshort_summary.generic.bacteria_odb10.SRR13183128.scaffolds.fa.txt
β β β£ πshort_summary.specific.enterobacterales_odb10.SRR13183128.scaffolds.fa.json
β β β πshort_summary.specific.enterobacterales_odb10.SRR13183128.scaffolds.fa.txt
β β£ πfastp_singles
β β β£ πSRR13183128_singles.fastp.html
β β β πSRR13183128_singles.fastp.json
β β£ πfastp_trimd
β β β£ πSRR13183128.fastp.html
β β β£ πSRR13183128.fastp.json
β β β£ πSRR13183128_1.fail.fastq.gz
β β β£ πSRR13183128_1.trim.fastq.gz
β β β£ πSRR13183128_2.fail.fastq.gz
β β β£ πSRR13183128_2.trim.fastq.gz
β β β£ πSRR13183128_raw_read_counts.txt
β β β πSRR13183128_trimmed_read_counts.txt
β β£ πfastqc_stats
β β β£ πSRR13183128_1_fastqc.html
β β β£ πSRR13183128_1_fastqc.zip
β β β£ πSRR13183128_2_fastqc.html
β β β πSRR13183128_2_fastqc.zip
β β£ πgamma_ar
β β β£ πSRR13183128_ResGANNCBI_20210507_srst2.gamma
β β β πSRR13183128_ResGANNCBI_20210507_srst2.psl
β β£ πgamma_hv
β β β£ πSRR13183128_Hyper_Virulence_20220414.gamma
β β β πSRR13183128_Hyper_Virulence_20220414.psl
β β£ πgamma_pf
β β β£ πSRR13183128_PF-Replicons_20220414.gamma
β β β πSRR13183128_PF-Replicons_20220414.psl
β β£ πkraken2_asmbld
β β β£ πkrona
β β β β πSRR13183128_asmbld.html
β β β£ πSRR13183128.classified.fastq.gz
β β β£ πSRR13183128.kraken2_asmbld.classifiedreads.txt
β β β£ πSRR13183128.kraken2_asmbld.report.txt
β β β£ πSRR13183128.mpa
β β β πSRR13183128.unclassified.fastq.gz
β β£ πkraken2_asmbld_weighted
β β β£ πkrona
β β β β πSRR13183128_wtasmbld.html
β β β£ πSRR13183128.summary.txt
β β β πSRR13183128_weighted_report.txt
β β£ πkraken2_trimd
β β β£ πkrona
β β β β πSRR13183128_trimd.html
β β β£ πSRR13183128.classified_1.fastq.gz
β β β£ πSRR13183128.classified_2.fastq.gz
β β β£ πSRR13183128.kraken2_trimd.classifiedreads.txt
β β β£ πSRR13183128.kraken2_trimd.report.txt
β β β£ πSRR13183128.mpa
β β β£ πSRR13183128.unclassified_1.fastq.gz
β β β πSRR13183128.unclassified_2.fastq.gz
β β£ πmlst
β β β πSRR13183128.tsv
β β£ πquast
β β β πSRR13183128_report.tsv
β β£ πremovedAdapters
β β β πSRR13183128.bbduk.log
β β£ πsrst2
β β β£ π1160__qnrB2__qnrB2_NG_050480.1__06200__quinolone__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π1210__catA2__catA2_NG_047596.1__00164__phenicol__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π1263__aac(6')__aac(6')-IIc_NG_047273.1__04893__aminoglycoside__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π1491__arr__arr-269927220_NG_047480.1__03781__rifamycin__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π1518__ble__ble-MBL_NG_047559.1__05909__bleomycin__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π1519__qacEdelta1__qacEdelta1_NG_048042.1__05908__quaternary__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π192__ere(A)__ere(A)_NG_047763.1__03540__macrolide__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π214__ere(A)__ere(A)_NG_047764.1__03063__macrolide__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π345__blaACT__blaACT-7_NG_048630.1__00052__beta-lactam__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π356__blaACT__blaACT-56_NG_061415.1__05940__beta-lactam__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π595__blaSHV__blaSHV-39_AY150585__04999__Beta-Lactamase__ARGANNOT.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π664__sul1__sul1_NG_048082.1__04214__sulfonamide__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π688__blaSHV__blaSHV-12_NG_050590.1__00491__beta-lactam__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π767__sul2__sul2_NG_051852.1__04662__sulfonamide__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π883__aadA2__aadA2_NG_051846.1__04091__aminoglycoside__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π906__aac(3)__aac(3)-IIg_NG_047231.1__03587__aminoglycoside__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ π96__mcr__mcr-9.1_MK070339.1__00225__colistin__NCBI.SRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ πSRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.pileup
β β β£ πSRR13183128__SRR13183128.ResGANNCBI_20210507_srst2.sorted.bam
β β β£ πSRR13183128__fullgenes__ResGANNCBI_20210507_srst2__results.txt
β β β πSRR13183128__genes__ResGANNCBI_20210507_srst2__results.txt
β β£ πSRR13183128.tax
β β£ πSRR13183128_Assembly_ratio_20210819.txt
β β πSRR13183128_summaryline.csv
β£ π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-06-13_18-18-01.html
β β£ πexecution_timeline_2022-06-13_18-18-01.html
β β£ πexecution_trace_2022-06-13_18-18-01.txt
β β£ πpipeline_dag_2022-06-13_18-18-01.svg
β β£ πsamplesheet.valid.csv
β β πsoftware_versions.yml
β πPhoenix_Output_Report.tsv
This is the file tree for running one sample.
To run PHoeNIx 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