Skip to content

Coverage

Andrea edited this page Nov 30, 2016 · 6 revisions

Graph

Usage

bash coverage.sh [SAMPLE_ORGANISM_DIR] [ORGANISM_REFERENCE_DIR]

Multiple samples:

bash wrapper_bacteria_coverage.sh

bash wrapper_virus_coverage.sh

bash wrapper_fungi_coverage.sh

bash wrapper_parasite_coverage.sh

Note: To run any of wrapper scripts above you must have generated the sample name list with Sample Name list generator.

In a nutshell...

Note: This script can only be run after mapping.

##I/O

  • Arguments:

    • $1 = (sampleDir) Directory where the analysis is. (ANALYSIS/xx-organism/sampleName/)
    • $2 = (refDB) Directory with the references. (/REFERENCES/ORGANISM_GENOME_REFERENCE)
  • Input Files:

    • genomeLength: List of the length of each of the genomes in the reference DB- (REFERENCES/ORGANISM_GENOME_REFERENCE/WG/genome_length.txt)
    • sampleBam: BAM file of the sample generated after mapping. (ANALYSIS/xx-organism/sampleName/reads/)
  • Output files:(In ANALYSIS/xx-organism/sampleName/coverage)

    • sampleName_genome_coverage.txt: Coverage file from the BAM file.
    • sampleName_coverage_log.log: Log file.

Clone this wiki locally