You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a script to automate script the process of the metagenomic samples from 10+ sites. So for each direct output of read_qc, they will have a pair of fastqs at clean_reads/{sample_name}/final_pure_reads_{1/2}.fq (I know that there's a step of reassigning files with sample names in the usage tutorial, but I didn't expect it will have an effect later).
So all reads given have the same final_pure_reads as prefix, but from
if [[ $?-ne 0 ]];then error "Something went wrong with sorting the alignments. Exiging...";fi
rm ${out}/work_files/${sample}.sam
else
comm "skipping aligning $sample reads to assembly because ${out}/work_files/${sample}.bam already exists."
fi
fi
We see that all samples are distinguished by their file name prefixes. So, all subsequent fastq pairs will be skipped as the final_pure_reads.bam is present.
I think this should be worth an error showing that the same file names are not permitted, at least, or it can be fixed by using something to hash the whole path (or simply, just the order it runs in the iteration like 0, 1, 2...) and make that bam the file name instead.
The text was updated successfully, but these errors were encountered:
I wrote a script to automate script the process of the metagenomic samples from 10+ sites. So for each direct output of
read_qc
, they will have a pair of fastqs atclean_reads/{sample_name}/final_pure_reads_{1/2}.fq
(I know that there's a step of reassigning files with sample names in the usage tutorial, but I didn't expect it will have an effect later).So all reads given have the same
final_pure_reads
as prefix, but frommetaWRAP/bin/metawrap-modules/binning.sh
Lines 220 to 244 in c4a23f0
We see that all samples are distinguished by their file name prefixes. So, all subsequent fastq pairs will be skipped as the
final_pure_reads.bam
is present.I think this should be worth an error showing that the same file names are not permitted, at least, or it can be fixed by using something to hash the whole path (or simply, just the order it runs in the iteration like 0, 1, 2...) and make that bam the file name instead.
The text was updated successfully, but these errors were encountered: