diff --git a/pseudomolecules/pseudomol_ragtag.sh b/pseudomolecules/pseudomol_ragtag.sh index 766c2679ee36a3107f25245ae89cba92e8441187..edfafdf6557f352017d6919c1044a761a0eef9ae 100644 --- a/pseudomolecules/pseudomol_ragtag.sh +++ b/pseudomolecules/pseudomol_ragtag.sh @@ -1,5 +1,5 @@ #!/bin/bash - +#SBATCH -t 72:00:00 #SBATCH -J ragtag #SBATCH -c 64 --mem=256G -p gdec,smp @@ -62,12 +62,11 @@ echo 'ChrUnknown' > $excluderef # select hifiasm_ctgs larger than defined length ($4) ml fastx-toolkit/0.0.13 seqkit/0.15.0 - seqkit seq --min-len $4 -o contigs_selected.fasta -j $SLURM_CPUS_PER_TASK $contigs_base # finally run ragtag -time ragtag.py scaffold $genome_base contigs_selected.fasta -e $excluderef -w -o ./ragtag_output -u -t $SLURM_CPUS_PER_TASK --mm2-params '-x asm5 -I 32G' -r -C --remove-small && \ +echo "Starting $0 on `hostname` now at `date`" +time ragtag.py scaffold $genome_base contigs_selected.fasta -e $excluderef -w -o ./ragtag_output -u -t $SLURM_CPUS_PER_TASK --mm2-params ' -k 28 -x asm5 -K 2G -I 32G ' -r -C --remove-small && \ tree ./ragtag_output && \ mv ./ragtag_output $out && cd $HOME -