The file names are different but I am getting only 4 output files for all bam samples namely:
genes.fpkm_tracking
isoforms.fpkm_tracking
skipped.gtf
transcripts.gtf
I expect to have separate files for my each sample, so want to add a prefix somehow as I think I am getting the results of the last bam sample only. I tried the first command but the output is same.
Could you include an example of the input and the command you expected it to run?
I mean the input files are of different name but cufflinks generates files
transcripts.gtf,genes.fpkm_tracking, andisoforms.fpkm_tracking.So every time a sample is run,these output files with same name (transcripts.gtf,genes.fpkm_tracking, andisoforms.fpkm_tracking) are generated again. I want these output files to be named according to the sample.e.g
508_C.bamwould be named as508_C.genes.fpkm_tracking,508_C.transcripts.gtf.Ahh. So you want GNU Parallel to help fix a problem in cufflinks. It cannot do that directly, but you can help it by making a function that does that for your. Untested: