Hello All, I am trying to find the lncRNA using the CPAT, the following error I got Command used python3 cpat.py -g SRR58075_uix_orf.fa.tar.gz -d Human_logitModel.RData -x Human_Hexamer.tsv -o out.txt
Error message Traceback (most recent call last): File "cpat.py", line 241, in <module> main() File "cpat.py", line 229, in main print >>sys.stderr, "Input gene file is in FASTA format" TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"?
Sample fasta file
MSTRG.32.1 GTGTAGTAGTGCTATCGCAGCTGACTGCAGCCTCAACCTTCCAGGCTGAAGCGATCCTCCCACCTCAACCTCCCACGTGGCTGAGACTACAGGTGCTTGCCACTATGCCCAACTAATATTTGGAATTTTCGTATACGTGGATTCCAGAGGGGTGACAGCAAAACGTGAGTAAGCATGGATTTTGGTATATGCAGAGATGGGGGGCTGGAACTAATTCTGTATACTGAGGGACGACGACTGTATATGTTTTTACAATTACGCTGTAGGATACATACTGTTGCATAGCCTTGAAAATAATAATTTTTAATTGAGTGGAATAAGAATAATATTGATAAAAGTAGCAGCTGGCCAGGTGTGGTGGCTCACACTGGTAATCACAACACTTTGGGAGGCTGAGGCAGGAGGATGGCTCGAGGCCAAGAGTTTGCGATAGGCCTTGGAAACAAAGGGGGAGTCACCATCCCTACAGAAAAATACATGAATTAGCCTAGTGTGGTGGCATGTTCCTGTAGTCCCAGCTACTTGGGAGGCTGAGGTGGGAGGATCACTTGAGCCCAGGGAGGCTGAGACTGCAGTGAGTCATGATCAGGCCTCTGCACTCCAGCCTGGGTGACAGAGTGAGACCCTGTCTCAAAACAACAAAAAAGTAGCAGCCAACATCAACTGACCTTTTGTACCAGGTGCCTATTGATACCATAGTTTAATTTCTTATAACTGTTTCTTATTTCACTTACCAACTCTGTCTTCAGTTACTCCCAGATTTTTACTGTGTGTGTACAGATGACCTTTTGTTTAGACTGAATTGTCTCCCCAGAAGTAAGATTACTGTGAGTCATGGTGAATGGACATTCTCCTTACCCTTGATGTAAATTGACAGGGTTTTGGGTGCCTCCCAGCTATAATCTTAGCACTTTGGGAGGCTAAGAGAGGAGGATTGCTTGAGGCCAAGAGTTGGAGGAGGCAGTATGGCAGTATGGTGAGACCCTGTCTCCATTATTTTAAAAAATTGACAGGCTTTACCCTGGAAGGCTTATACACAATTTAACCACCCCTCATAGTATAAGAAAGTGCCCATTTCACTGCACCTTTGCCAGCACAGGGTATTATAATTTAGTAAGTCATTTTTTGTTTGATTATTTTACATAGACAAAAGAACTCATATTACTTTACTTGTCACATTTCAACATCTTTCCTCAGCTTATTAGCTCTATTTCTTTTCTGTCTGTAAATGGTTGTTGCTGTTTTGGTCTTTGAGACAGGATCTTGCTCTGTCACCAGGCTGGACTGTAGTGGCATAATCATGCCTCACTGCAGCCTTGACCTCCCAGGCTCAAACTTCAGCATTCCGAGTAGCTGGGACTACAAGTGTGCACCACCACCCCCAGCTAACTTTTTTCTTCTTTTGGATAGAGACAGGGTCTCACTGTGTCGTCCAGACCGGTCTCTAGCTCCTGGCCTTAAGCAATCCTCCTGCATTAGCTTCTGAAATTACTGGAATTTCAGGCATGAGCCACCATGCCTGGCCTGGGCTAGTCCCATATTCTCTAGAGTTCTGTTTACTTTGTGCTAGCCAATCTCTCATTATGCTGTTCACCTGTTATAATGAATAATTCTCTGTATTAAATTTTACCACTTTAAACTTTTGAGTGGTTTATGCTTCCTGATTGGACTCTGACTAATATGTTAGGAAGGGTCCCAGGAGGTAGACCCACACAGATGGGATTTGGGCATAGGTTTGGTTTCCCAGGGGGCAGTGCTGAGCTCTTTGCCAGTGGGAAATGGGATGCTGGTGATTTCCAGTAGGTGACCTCACAGTGACTCAAGCTACCACTTACTGTTGATTGTGACGAAATGCCAGCTGAGGCACATGCCTTGGGAGCTAAGTGGTTGCTGCCCTTGACCACTGTGAAGACTGGTGTGGGAAGGGTCGCTTTGGATGCACTTGAGCAGGGGTCCCCAACCCCTGAGCCATGGAGCCGCAAGGAGCCACACAGCAGGAGGTGAGCGGTGTCGAGTGAGGGAGTGAGGGAAGCTTCGTCTGTATTTACAGCCACTCCCCTTTGCTCACATTCCCGCCTGAGCTCCACCTTCTCAGATGAGCAGCAGCGTTAGATTCTCATAGGAGAACGCACCCTGTTGTGAACCGTGCATGTGAGGGATCAAGGTTGCGCTGTCCTTATGAGAATCTAATACCTATTGATCTGTTACTTTCTCCCATCACGCTCAGGTGGGAACATCCAGTTGCAGGAAAACAAGCTTAACACGCCCACTGATTCTAC Plese share your ideas to solve this isssue