-
Notifications
You must be signed in to change notification settings - Fork 205
Brief description of scripts
Human Contamination
-
run_deconseq.pl: Wraps the deconseq program to filter out human reads from metagenomic data
-
run_contaminant_filter.pl: Wraps the Bowtie2 program to filter out human reads from metagenomic data (faster than deconseq)
PEAR (Paired-end stitching)
- run_pear.pl: Makes running the PEAR program easier on many samples, by automatically identifying the paired-end files to merge together.
STAMP (Statistics and Visualization)
I find STAMP to be a very useful tool for creating figures and doing statistical analyses. Here are scripts to covert tables from different tools into STAMP input profile files.
-
metaphlan_to_stamp.pl: This is script that converts a merged MetaPhlAn output file that was created using all taxnomic ranks to a STAMP profile file.
-
biom_to_stamp.py: STAMP has built-in BIOM conversion, but depending on where the BIOM file comes from there can be slight format problems with STAMP. Specifically, this script handles PICRUSt BIOM output (both KOs and KEGG Pathways) and QIIME 16S OTU tables (with metadata 'taxonomy').
-
humann_to_stamp.pl: Converts HUMAnN output to STAMP format (currently removes extra rows and renames samples ids so they are the same as the orginal file)
Metagenome taxonomic annotation
-
run_metaphlan.pl: Wraps the MetaPhlAn package and handles running multiple samples at once as well as handling paired end data a bit more cleaner. It also runs each sample in parallel and merges the results into a single output file. Also, easily allows gzipped or non-gzipped files.
-
run_metaphlan2.pl: Wraps the MetaPhlAn2 package using the same method as for MetaPhlAn.
-
run_kraken.pl: Wrapper to run kraken to do taxonomic classification of metagenomic reads along with the post-processing tools kraken-translate and kraken-mpa-report.
Humann (Metagenome functional annotation)
- run_pre_humann.pl: Does similarity search against kegg database using search tool diamond using multiple threads. This output is then fed into HUMAnN.
Other assorted scripts
-
chimera_filter.pl: Wraps VSEARCH (which implements the UCHIME reference-based algorithm) to filter out chimeric reads from a directory of reads in FASTA format.
-
chimera_filter_usearch61.pl: Wraps USEARCH v6.1 (which implements the UCHIME reference-based algorithm) to filter out chimeric reads from a directory of reads in FASTA format.
-
concat_lanes.pl: Concatenates FASTQs or FASTAs from multiple lanes together.
-
concat_paired_end.pl: Concatenate paired end FASTQs or FASTAs.
-
count_fastq.pl: Takes in path to FASTQ files and returns a table of counts of the number of reads and average read length per FASTQ.
-
create_qiime_map.pl: Creates a qiime map file based on a list of input filenames that can then be used with the script "add_qiime_labels.py".
-
filter_fastq.pl: Simple script to filter out reads based on a length cut-off.
-
plot_metagenome_contributions.R: Rscript that can make useful plots for interpreting the output of PICRUSt's metagenome_contributions.py script.
-
read_filter.pl: Wraps several read filtering commands together (using FASTX Toolkit and BBMap) to run on a directory of fastq files.
-
remove_low_confidence_otus.py: Filters a BIOM table to remove low confidence OTUs that result from MiSeq run-to-run bleed-through (based on 0.1% as reported by Illumina).
-
run_fastq_to_fasta.pl: Wraps the fastq_to_fasta command from the FASTX Toolkit to allow the use of multiple threads.
-
run_sra_to_fastq.pl: Converts sra files to FASTQ format.
-
run_trimmomatic.pl: Wrapper for Trimmomatic to filter reads by length and quality.
- Please feel free to post a question on the Microbiome Helper google group if you have any issues.
- General comments or inquires about Microbiome Helper can be sent to [email protected].
Useful Links
Main SOPs
Amplicon SOP v2 (virtual box workflow)
Amplicon SOP v2 (qiime2-2022.11)
Amplicon SOP v2 (qiime2-2024.5)
PacBio Amplicon SOP v2 (qiime2-2022.2)
Tutorials
- CBW 2024 Workshops
- CBW-IMPACTT-workshop-tutorials-2023
- Intro to Unix
- ICG workshop tutorials 2023
- IMPACTT workshop tutorials 2022
- PICRUSt2 (CBW 2021)
- Metagenomics (CBW 2021)
- Intro to GNU Parallel
- BIOC4010 16S Tutorial
- Metagenomics Tutorial (Humann2 based)
- Download From SRA
- Random Forest Tutorial in R
- Other Tutorials