BUSCO/en: Difference between revisions

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 13: Line 13:
To see the latest available version, run:
To see the latest available version, run:
{{Command|avail_wheel busco}}
{{Command|avail_wheel busco}}
== Python Wheel ==
== Python wheels ==
=== Installation ===
=== Installation ===
'''1.''' Load the necessary modules:
<b>1.</b> Load the necessary modules:
{{Commands
{{Commands
|module load StdEnv/2020 gcc python/3.10 augustus hmmer blast+ metaeuk prodigal r}}
|module load StdEnv/2020 gcc python/3.10 augustus hmmer blast+ metaeuk prodigal r}}


'''2.''' Create the virtual environment:
<b>2.</b> Create the virtual environment:
{{Commands
{{Commands
|virtualenv busco_env
|virtualenv busco_env
Line 25: Line 25:
}}
}}


'''3.''' Install the wheel and its dependencies:
<b>3.</b> Install the wheel and its dependencies:
{{Command
{{Command
|prompt=(busco_env) $
|prompt=(busco_env) $
Line 36: Line 36:


==== Test ====
==== Test ====
'''4.''' Download test data:
<b>4.</b> Download test data:
{{Commands
{{Commands
|wget https://gitlab.com/ezlab/busco/-/raw/master/test_data/bacteria/genome.fna
|wget https://gitlab.com/ezlab/busco/-/raw/master/test_data/bacteria/genome.fna
Line 42: Line 42:
}}
}}


'''5.''' Run:
<b>5.</b> Run:
{{Command|busco --offline --in genome.fna --out TEST --lineage_dataset bacteria_odb10 --mode genome --cpu ${SLURM_CPUS_PER_TASK-1} }}
{{Command|busco --offline --in genome.fna --out TEST --lineage_dataset bacteria_odb10 --mode genome --cpu ${SLURM_CPUS_PER_TASK-1} }}


Line 48: Line 48:


=== Slurm tips ===
=== Slurm tips ===
Specify <tt>--offline</tt> to avoid using internet.
Specify <code>--offline</code> to avoid using internet.


Specify <tt>--cpu</tt> to <tt>$SLURM_CPUS_PER_TASK</tt> in your job submission script to use the number of cpus allocated.
Specify <code>--cpu</code> to <code>$SLURM_CPUS_PER_TASK</code> in your job submission script to use the number of CPUs allocated.


Specify <tt>--restart</tt> to restart from a partial run.
Specify <code>--restart</code> to restart from a partial run.


== Modules ==
== Modules ==
Line 120: Line 120:
= Troubleshooting =
= Troubleshooting =
== Cannot write to Augustus config path ==
== Cannot write to Augustus config path ==
Make sure you have copied the config directory to a writable location and exported the <tt>AUGUSTUS_CONFIG_PATH</tt> variable.
Make sure you have copied the config directory to a writable location and exported the <code>AUGUSTUS_CONFIG_PATH</code> variable.
38,760

edits