feliixx / gotranseq Goto Github PK
View Code? Open in Web Editor NEWconvert nucleic sequence in protein sequence
License: MIT License
convert nucleic sequence in protein sequence
License: MIT License
Hi Feliixx,
I have encountered an error when running gotranseq in my data. The error is the following:
WARNING: invalid char in sequence SAGAGTCATCTCCTATGCAGGCTGCCTGACTCAGATGTCTCTCTTTGCCATTTKTGGAGGCATGGAAGAGAGACATGCTCCTGAGTGTGATGGCCTATGGCCGGTTTGTAGCCATCTGTCACCCTCTATATCGTTCAGCCATCTTGAACCCATGTTTCTGTGGCTTCCTAGATTTGTTGTCTTCGTTTTGTTTTGTTTTGTTTTTCTCAGTCTTTTAGACTCCCAGCTGCACAACTTGATTGCCTTACAAATGACCGGCTTCAAGGATGTGGAATTCCTAATTTCTTCTGGGAACCTTCTCAACTCCCCATCTTGCATGTTGTGACACCTTCACCAGGAACATCAACCTGTATTTCCCTGCTGCCGTATTTGGTTTTCTTCCCATCTTGGGGACCTTTTCTCTTACTGTAAAATTGTTTCCTCCATTCTGAGGGTTTCATCATCAGGTGGGAAGTATAAACCTTCTCCACCTGTGGGTCTCACCTGCCAGTTGTTTGCTGATTTTGTGGAACAGGTGTTGGAGGGTACCTTGGTTCAGATGTGTCATCTTCCCCAAGAAAGAGTGCAGTGCCCTCAGTGATGTACCCGGTGGTCACCTCC: S, ignoringWARNING: invalid char in sequence SKTGGAGGCATGGAAGAGAGACATGCTCCTGAGTGTGATGGCCTATGGCCGGTTTGTAGCCATCTGTCACCCTCTATATCGTTCAGCCATCTTGAACCCATGTTTCTGTGGCTTCCTAGATTTGTTGTCTTCGTTTTGTTTTGTTTTGTTTTTCTCAGTCTTTTAGACTCCCAGCTGCACAACTTGATTGCCTTACAAATGACCGGCTTCAAGGATGTGGAATTCCTAATTTCTTCTGGGAACCTTCTCAACTCCCCATCTTGCATGTTGTGACACCTTCACCAGGAACATCAACCTGTATTTCCCTGCTGCCGTATTTGGTTTTCTTCCCATCTTGGGGACCTTTTCTCTTACTGTAAAATTGTTTCCTCCATTCTGAGGGTTTCATCATCAGGTGGGAAGTATAAACCTTCTCCACCTGTGGGTCTCACCTGCCAGTTGTTTGCTGATTTTGTGGAACAGGTGTTGGAGGGTACCTTGGTTCAGATGTGTCATCTTCCCCAAGAAAGAGTGCAGTGCCCTCAGTGATGTACCCGGTGGTCACCTCC: K, ignoringpanic: runtime error: index out of range [4915971] with length 263173
goroutine 21 [running]:
github.com/feliixx/gotranseq/transeq.(*writer).translate3Frames(0xc000980000, 0xc00005e600, 0x2f6, 0x5b6)
/home/runner/work/gotranseq/gotranseq/transeq/writer.go:99 +0x89a
github.com/feliixx/gotranseq/transeq.(*writer).translate(0xc000980000, 0xc00005e600, 0x2f6, 0x5b6)
/home/runner/work/gotranseq/gotranseq/transeq/writer.go:60 +0x71
github.com/feliixx/gotranseq/transeq.Translate.func1(0xc00010c150, 0xc000280000, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5858585858585800, 0x10fe62d, ...)
/home/runner/work/gotranseq/gotranseq/transeq/transeq.go:149 +0x318
created by github.com/feliixx/gotranseq/transeq.Translate
/home/runner/work/gotranseq/gotranseq/transeq/transeq.go:135 +0x3da
I think the reason is that there are ambiguous characters in my data. In this case, the character "S" represents the possibility of finding cytosine or guanine. Is there any solution to this issue?
Here are the nucleotide sequences in fasta format:
I've had gotranseq randomly crash with this error. Used current master branch and parameters --frame 6 and -n 1
, if that matters. Crash does not appear to be deterministic: re-ran the tool on the same file and it went fine. Could be related with -n 1
not being enforced sometimes, as CPU usage can be >100%.
Hi Feliix,
thanks for gotranseq, I've hit an issue with some of my fasta DNA sequences being in lower case letters whcih are all replaced with 'N' (see below), and I end up with no translation for that sequence. Is this something you can rectify in the future?
WARNING: invalid char in sequence >sakai_stx2a-A.fasta: 't' ( pos 503), replacing with 'N'
Thanks,
DeenSm
I can resolve sorry.
i have 2840 uniq dna sequence, but the results only output 1930 rows with default. It makes me very puzzled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.