File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
modules/nf-core/last/train Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ process LAST_TRAIN {
3434
3535 echo "id\t substitution_percent_identity\t last -t\t last -a\t last -A\t last -b\t last -B\t last -S" > ${ prefix} .train.tsv
3636 printf "\$ (basename ${ prefix} .train .target.train)\t " >> ${ prefix} .train.tsv
37- grep 'substitution percent identity' ${ prefix} .train | tail -n 1 | awk '{print \$ 5}' | tr '\\ n' '\\ t' >> ${ prefix} .train.tsv
37+ # Do not take the last 'substitution percent identity' value; it is calculated from a matrix rounded to integers
38+ grep 'substitution percent identity' ${ prefix} .train |
39+ tail -n 2 | head -n 1 | awk '{print \$ 5}' | tr '\\ n' '\\ t' >> ${ prefix} .train.tsv
3840 grep 'last -t' ${ prefix} .train | tail -n 1 | awk '{print \$ 2}' | sed -e 's/-t//' | tr '\\ n' '\\ t' >> ${ prefix} .train.tsv
3941 grep 'last -a' ${ prefix} .train | tail -n 1 | awk '{print \$ 3}' | tr '\\ n' '\\ t' >> ${ prefix} .train.tsv
4042 grep 'last -A' ${ prefix} .train | tail -n 1 | awk '{print \$ 3}' | tr '\\ n' '\\ t' >> ${ prefix} .train.tsv
Original file line number Diff line number Diff line change 7070 " id" : " contigs" ,
7171 " single_end" : false
7272 },
73- " contigs.train.tsv:md5,a2fca4aabda82f0aa481085ce5258886 "
73+ " contigs.train.tsv:md5,c8721d9cabf1e2b7c0d2d3dac9ed3db8 "
7474 ]
7575 ],
7676 " 2" : [
8282 " id" : " contigs" ,
8383 " single_end" : false
8484 },
85- " contigs.train.tsv:md5,a2fca4aabda82f0aa481085ce5258886 "
85+ " contigs.train.tsv:md5,c8721d9cabf1e2b7c0d2d3dac9ed3db8 "
8686 ]
8787 ],
8888 " param_file" : [
101101 ],
102102 " meta" : {
103103 " nf-test" : " 0.9.2" ,
104- " nextflow" : " 24.10.5 "
104+ " nextflow" : " 25.04.8 "
105105 },
106- " timestamp" : " 2025-03-10T11:02:48.369194 "
106+ " timestamp" : " 2025-10-20T14:56:15.004824885 "
107107 }
108108}
You can’t perform that action at this time.
0 commit comments