Question: Abyss (Optimizing the parameter k)
0
gravatar for Mbillah
7 months ago by
Mbillah110
Chittagong
Mbillah110 wrote:

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 kmer assembly • 282 views
ADD COMMENTlink modified 6 months ago by Biostar ♦♦ 20 • written 7 months ago by Mbillah110

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 ;)

ADD REPLYlink modified 7 months ago • written 7 months ago by lieven.sterck5.1k

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

ADD REPLYlink modified 7 months ago • written 7 months ago by Mbillah110
1

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 .

ADD REPLYlink written 7 months ago by lieven.sterck5.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 752 users visited in the last hour