Question: Abyss (Optimizing the parameter k)
0
gravatar for Mbillah
7 weeks ago by
Mbillah100
Chittagong
Mbillah100 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 • 126 views
ADD COMMENTlink modified 9 days ago by Biostar ♦♦ 20 • written 7 weeks ago by Mbillah100

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 weeks ago • written 7 weeks ago by lieven.sterck3.3k

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

ADD REPLYlink modified 7 weeks ago • written 7 weeks ago by Mbillah100
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 weeks ago by lieven.sterck3.3k
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: 748 users visited in the last hour