This is a test version of Biostars. For the public version, visit https://www.biostars.org.
how to use the reference database without inputing path before it?

For some commands the reference database was downloaded seperately, I have to input the path before the database file when I use the command. Can anyone tell me how to use the reference database without inputing path before it? I mean if I type the name of the reference database in the command line, it will be found anywhere. Like export PATH variable in bin for command. If so, it will be very cool. Thanks!

assembly

You could setup variable(s) that points to the reference basename. Say REF=/path_to_ref_dir and then try using ${REF}/basename in your commands.

0 answers

No answers yet.

Log in to answer this question.