How cfsan-biostatistics/ww_simulations works
Project Type Analysis
This is a specialized bioinformatics pipeline/workflow tool consisting of multiple Python scripts that work together to generate and process simulated genomic datasets.
Main Components
A. Input Components:
• Accessions file (accessions.txt)
• Reference sequences (five_sequences.fasta)
• Primer information (neb_vss1a_primer.tsv)
B. Processing Scripts:
• Primary scripts:
• generate_replicates.py
• generate_simulated_datasets.py
• Supporting scripts:
• bed_to_primers.py
• coverage_results_processing.py
• fq_to_replicate_composition_info.py
• results_parsing.py
C. External Dependencies:
• ART (read simulator)
• in_silico_pcr.pl
[Input Data] → [Processing Pipeline] → [Output Data]
[accessions.txt] →[generate_replicates.py] → [replicate_X.tsv] →
[five_sequences.fasta]─┐
[neb_vss1a_primer.tsv]─┼→[generate_simulated_datasets.py]→[simulated reads]
[replicate_X.tsv]──────┘
Key Elements to Highlight
a) Data Flow:
• How accessions.txt feeds into generate_replicates.py
• How the output of generate_replicates.py becomes input for generate_simulated_datasets.py
• Integration points with external tools (ART and in_silico_pcr.pl)
b) Processing Steps:
• Read coverage simulation step using ART
Additional Recommendations
• Annotations for key parameters (e.g., -n for number of replicates, -f for fold coverage)
• Version information for critical dependencies (Python 3.8.1)
Technical Details
• Mathematical relationship between variant composition and amplicon multiplication
• Where coverage fold parameters affect the pipeline
• Points where quality control or validation might occur