script to write the path of all the output files of Cufflinks in a text file for Cuffmerge?
1
0
Entering edit mode
6.2 years ago
Biologist ▴ 290

Hello,

With cufflinks command I have many gtf files as outputs. For Cuffmerge I created a text file in which I gave the path to all text files.

/A/A_GRCh37.gtf
/B/B_GRCh37.gtf
/C/C_GRCh37.gtf
/D/D_GRCh37.gtf
/E/E_GRCh37.gtf
/F/F_GRCh37.gtf

I have more than 100 gtf files. How can I write the path of all gtf files in a text file for Cuffmerge?

A small code is needed for creating text file and writing the paths of all the gtf files

RNA-Seq cuffmerge cufflinks • 1.5k views
ADD COMMENT
0
Entering edit mode
6.2 years ago

If your gtf files are in the same directory structure as you mentioned you can use the following command to get a text file with all the assembly file locations.

ls */*_GRCh37.gtf > assembly.txt
ADD COMMENT

Login before adding your answer.

Traffic: 3001 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