Pstrain profiles strains in metagenomics data. It infers strain abundance and genotype for each species. Also, it has a single species mode; where given a BAM and VCF, it can phase the variants for any species.
MIT License
8
stars
2
forks
source link
A snippet offering a for-loop based config construction script #8
With input fastq in a root directory, in individual folders for each sample, and runs named $sample_1.fastq and $sample_2.fastq, and the names are assigned to a variable, $AllSamples
for I in $AllSamples; do echo "//";echo sample : $I ; echo fq1: /rootdir/$I/$I_1.fastq ; echo fq2: /rootdir/$I/$I_2.fastq ; done
With input fastq in a root directory, in individual folders for each sample, and runs named $sample_1.fastq and $sample_2.fastq, and the names are assigned to a variable, $AllSamples
for I in $AllSamples; do echo "//";echo sample : $I ; echo fq1: /rootdir/$I/$I_1.fastq ; echo fq2: /rootdir/$I/$I_2.fastq ; done