Skip to content

Commit

Permalink
Merge pull request #15 from skrakau/busco-script-suggestions
Browse files Browse the repository at this point in the history
Suggestions for BUSCO script
  • Loading branch information
jfy133 authored May 25, 2023
2 parents 2f0d31d + bb4cefd commit 0dfad70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/run_busco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ if [ -f BUSCO/logs/prodigal_out.log ]; then
mv BUSCO/logs/prodigal_out.log "${bin}_prodigal.gff"
fi

# output value of most_spec_db
echo ${most_spec_db} > info_most_spec_db.txt

# if needed delete temporary BUSCO files
if [ ${busco_clean} = "Y" ]; then
find . -depth -type d -name "augustus_config" -execdir rm -rf "{}" \;
Expand Down
1 change: 1 addition & 0 deletions modules/local/busco.nf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ process BUSCO {
}
"""
run_busco.sh "${p}" "${cp_augustus_config}" "${db}" "${bin}" ${task.cpus} "${lineage_dataset_provided}" "${busco_clean}"
most_spec_db=\$(<info_most_spec_db.txt)
cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down

0 comments on commit 0dfad70

Please sign in to comment.