This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Abyss (Optimizing the parameter k)

How can i run this script on linux? what is "export k" mean?

export k

for k in {20..40}; do

mkdir k$k

abyss-pe -C k$k name=ecoli in=../reads.fa

done

abyss-fac k*/ecoli-contigs.fa

TIA

abyss assembly kmer

what exactly is not working?

the export k is bash syntax to declare a global variable but nothing to worry about that in your case. Not sure if this might cause the issue but there need to be at least a ; in between the export k and for k in

EDIT: OK, after your reformat the ; is not gonna be an issue ;)

So I need to run this by bash script? I want to know the execution way

yes indeed, this is all linux cmdline.

What you need to do is to put all those commands (exactly how they are mentioned here) in a file (eg. runABySS.sh) and then run it on your machine with eg bash runABySS.sh .

0 answers

No answers yet.

Log in to answer this question.