This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How Can I Use The Sff_Extract In Mira3 For Example Copy A File From Bin To User Directory

After following the instructions you gave me and installed python. the command went as follows

[admin@ty10063-per ~]$ cd Desktop 
[admin@ty10063-per Desktop]$ ls
 chevreux_thesis_MIRA.pdf flower HKI_B_TCMID15_080410.fasta HKI_B_TCMID15_080410.qual mira_3.2.0_prod_linux-gnu_i686_32_static mira_3.2.0_prod_linux-gnu_i686_32_static.tar.bz2 Python-2.6.5 sff_extract TEST ERROR MIRA3 
[admin@ty10063-per Desktop]$ cd mira_3.2.0_prod_linux-gnu_i686_32_static 
[admin@ty10063-per mira_3.2.0_prod_linux-gnu_i686_32_static]$ ls
 bin docs minidemo scripts THANKS CHANGES_old.txt docs_3rdparty mira_assembly stickleback CHANGES.txt LICENCE README support 
[admin@ty10063-per mira_3.2.0_prod_linux-gnu_i686_32_static]$ sudo cp bin/* /usr/local/bin 
[sudo] password for admin: 
[admin@ty10063-per mira_3.2.0_prod_linux-gnu_i686_32_static]$ sudo cp scripts/* /usr/local/bin 
[admin@ty10063-per mira_3.2.0_prod_linux-gnu_i686_32_static]$ chmod 755 sff_extract;./sff_extract 
chmod: cannot access `sff_extract': No such file or directory bash: ./sff_extract: No such file or directory 
[admin@ty10063-per mira_3.2.0_prod_linux-gnu_i686_32_static]$

WHY AM I GETTING SUCH EROR AFTER FOLLOWING ALL THE INSTRUCTIONS

QUESTION: Why do i get the error message "No such file or Directory"

Thanks alot Daniel

mira linux

Please don't use ALL CAPS, it feels like you are shouting.

This also appears to be a duplicate question - Sff_Extract Question - it should probably be closed here and discussion continued at the original post.

This is off topic, it's a very basic Unix shell question.

2 answers

Try:

Just ensure that:

ls /usr/local/bin/sff_extract

returns evidence that sff_extract exists at that location then:

sudo chmod 755 /usr/local/bin/sff_extract
/usr/local/bin/sff_extract

./sff_extract will only work on a script in your current working directory.

Above the sff_extract file is located in the Desktop folder. But then you switch to the mira folder that does not have this script.

Log in to answer this question.