SAMtoBAM / MUMandCo

MUM&Co is a simple bash script that uses Whole Genome Alignment information provided by MUMmer (only v4) to detect Structural Variation
GNU General Public License v3.0
64 stars 14 forks source link

--threads has no default value #20

Closed hhuili closed 2 years ago

hhuili commented 2 years ago

Hi,

When I don't use the -t parameter, the bash script will report an error. Which should be that the ${threads} does not have a default value.

e.g. https://github.com/SAMtoBAM/MUMandCo/blob/14f38bdb3ee7a51a52da966f25a7a61f6a4b2b30/mumandco_v3.7.sh#L89

SAMtoBAM commented 2 years ago

Very true, I have simply added a default threads value of 1 now