diff --git a/bu_isciii/templates/plasmidid/ANALYSIS/ANALYSIS02_PLASMIDID/lablog b/bu_isciii/templates/plasmidid/ANALYSIS/ANALYSIS02_PLASMIDID/lablog index bc11143f..b6d0b61e 100644 --- a/bu_isciii/templates/plasmidid/ANALYSIS/ANALYSIS02_PLASMIDID/lablog +++ b/bu_isciii/templates/plasmidid/ANALYSIS/ANALYSIS02_PLASMIDID/lablog @@ -4,6 +4,6 @@ mkdir logs scratch_dir=$(echo $PWD | sed 's/\/data\/bi\/scratch_tmp/\/scratch/g') ln -s ../samples_id.txt . -cat ../samples_id.txt | xargs -I @@ echo "srun --chdir $scratch_dir --output logs/PLASMIDID.@@.%j.log --job-name PLASMIDID_@@ --partition short_idx --time 05:00:00 env - PATH="$PATH" singularity exec --bind /data/bi/references/ --bind ${scratch_dir} --bind ${scratch_dir}/../../ /scratch/bi/singularity-images/depot.galaxyproject.org-singularity-plasmidid-1.6.5--hdfd78af_0.img plasmidID -1 ${scratch_dir}/../*ASSEMBLY/01-preprocessing/trimmed_sequences/@@_1.trim.fastq.gz -2 ${scratch_dir}/../*ASSEMBLY/01-preprocessing/trimmed_sequences/@@_2.trim.fastq.gz -d /data/bi/references/plasmidID/plasmid_ddbb/20200203/20200203_plasmids.fasta -s @@ -c ${scratch_dir}/../*ASSEMBLY/03-assembly/unicycler/@@.fasta -a ${scratch_dir}/plasmidID_annotation_config_file.txt --no-trim -o ${scratch_dir} &" > _01_plasmidID.sh +cat ../samples_id.txt | xargs -I @@ echo "srun --chdir $scratch_dir --output logs/PLASMIDID.@@.%j.log --job-name PLASMIDID_@@ --partition short_idx --time 05:00:00 env - PATH="$PATH" singularity exec --bind /data/bi/references/ --bind ${scratch_dir} --bind ${scratch_dir}/../../ /data/bi/pipelines/singularity-images/depot.galaxyproject.org-singularity-plasmidid-1.6.5--hdfd78af_0.img plasmidID -1 ${scratch_dir}/../*ASSEMBLY/01-processing/fastp/@@_1.fastp.fastq.gz -2 ${scratch_dir}/../*ASSEMBLY/01-processing/fastp/@@_2.fastp.fastq.gz -d /data/bi/references/plasmidID/plasmid_ddbb/20200203/20200203_plasmids.fasta -s @@ -c ${scratch_dir}/../*ASSEMBLY/03-assembly/unicycler/@@.fasta -a ${scratch_dir}/plasmidID_annotation_config_file.txt --no-trim -o ${scratch_dir} &" > _01_plasmidID.sh -echo "srun --chdir $scratch_dir --partition short_idx --time 1:00:00 --output logs/SUMMARY.%j.log /data/bi/pipelines/plasmidID/bin/summary_report_pid.py -i NO_GROUP -g &" > _02_summary_table.sh +echo "srun --chdir $scratch_dir --partition short_idx --time 1:00:00 --output logs/SUMMARY.%j.log env - PATH="$PATH" singularity exec --bind /data/bi/references/ --bind ${scratch_dir} --bind ${scratch_dir}/../../ /data/bi/pipelines/singularity-images/depot.galaxyproject.org-singularity-plasmidid-1.6.5--hdfd78af_0.img summary_report_pid.py -i NO_GROUP -g &" > _02_summary_table.sh