GenomeRIK / tama

Transcriptome Annotation by Modular Algorithms (for long read RNA sequencing data)
GNU General Public License v3.0
125 stars 24 forks source link

TAMA GO: Read Support #90

Closed anchonggen closed 1 year ago

anchonggen commented 1 year ago

Hi,

I tried to generate read support for TAMA merge run, but it reported an error as below. Could you please help me solve this problem?

image image

Thank you!

An

GenomeRIK commented 1 year ago

Hello An,

It looks like you are trying to run this command in your TAMA tools folder. This is not recommended as you should not be saving output files into your git clone.

I suspect the reason this is not working is because your specified input files are not in the same folder as where you are running this command from.

You should move your analysis outside of the TAMA folders and call TAMA using the path to the script you want to run.

You will need all the input trans_read files to be in the same folder as where you are running this command from so the tool can find those files.

This is one of the core concepts of using Linux and command line tools. It might be good to get some help from someone for basic command line usage.

Thank you, Richard

anchonggen commented 1 year ago

Hi Richard, I rerun it again outside the Tama folder, but it still reported the same error. image

Thank you. An

GenomeRIK commented 1 year ago

Hi An,

Are all the input files in the same folder as where you are running the command from? Can you show me a screen shot of the folder contents?

Thank you, Richard

anchonggen commented 1 year ago

yes, all input files are in the same folders as shown and highlighted here image

GenomeRIK commented 1 year ago

Hi An,

Is there by any chance an extra empty line in your filelist.txt file?

Could you send that file to me?

Thank you, Richard

anchonggen commented 1 year ago

Hi Richard,

I typed it in excel and saved it in tab-delimited format, as shown below. filelist.txt

Thank you, An

GenomeRIK commented 1 year ago

Hi An,

Ok I see, that is the problem. You have empty lines and improper formatting. Could you recreate the file in the linux environment? You can just use Nano.

You can use "cat -A filelist.txt" to see if you have improper hidden formatting issues.

Also a note, in general it is a bad idea to create input files in a windows environment for use with software that is intended to be run on linux because windows tools can add invisible formatting that messes things up.

Thank you, Richard

anchonggen commented 1 year ago

Hi Richard,

Thanks for your hints. As you said, I found Excel added invisible formatting "^M" before "$" at the end of each line, which made them unable to be recognised.

Kind regards,

An

GenomeRIK commented 1 year ago

Hi An,

I am assuming this issue has been resolved so I will close this thread now. You can reopen it if you are still having this issue.

Thank you, Richard