Unable to perform merging through cuffmerge
0
0
Entering edit mode
19 months ago

Can anybody how to overcome this error in Cuffmerge

command =

cuffmerge -g /mnt/c/Data/Week4/gencommand_proj4/athal_genes.gtf -p 8 -s /mnt/c/Data/Week4/gencommand_proj4/athal_chr.fa assembly.txt
assembly.txt = /mnt/c/Data/Week4/gencommand_proj4/Day8/transcripts.gtf
                        /mnt/c/Data/Week4/gencommand_proj4/Day16/transcripts.gtf

[Fri Apr 17 13:24:22 2020] Preparing output location ./merged_asm/
Traceback (most recent call last):
  File "/usr/bin/cuffmerge", line 580, in <module>
    sys.exit(main())
  File "/usr/bin/cuffmerge", line 538, in main
    gtf_input_files = test_input_files(transfrag_list_file)
  File "/usr/bin/cuffmerge", line 268, in test_input_files
    g = open(line,"r")
IOError: [Errno 2] No such file or directory: '/mnt/c/Data/Week4/gencommand_proj4/Day8/transcripts.gtf

I would be very thankful

RNA-Seq • 516 views
ADD COMMENT
0
Entering edit mode

This should be a "question", not a tutorial, but to give you a quick answer, it looks like your /mnt/c/Data/Week4/gencommand_proj4/Day8/transcripts.gtf is missing or that the path is incorrect.

ADD REPLY
0
Entering edit mode

but the files are in this path

ADD REPLY
1
Entering edit mode

Are you working on Windows Subsystem for Linux? That might add a layer of complications.

ADD REPLY
0
Entering edit mode

Then try the command head /mnt/c/Data/Week4/gencommand_proj4/Day8/transcripts.gtf in terminal. Does it work ?

ADD REPLY
0
Entering edit mode

no it did not worked, can you provide me answer because i am just a beginner

ADD REPLY
0
Entering edit mode

I see three possibilities: the file does not exist, the file exists but the path is wrong, or you do not have the permissions to access the file (although I think the error message would have been different in that last case). To make sure that the path is correct, try to navigate step by step from your home directory using ls. Like this:

ls /mnt
ls /mnt/c
ls /mnt/c/Data
ls /mnt/c/Data/Week4
...
ADD REPLY
0
Entering edit mode

its saying no such directory

ADD REPLY
1
Entering edit mode

in the directory with transcripts.gtf you can use the command pwd to get the path to that directory.

https://www.redhat.com/sysadmin/basic-linux-commands

ADD REPLY
0
Entering edit mode

yes sir i am using window subsytem for linux

ADD REPLY

Login before adding your answer.

Traffic: 2877 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6