-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in read *.lcd files #34
Comments
Hi, |
Hi Ethan, , I send you both samples of my data in both *.lcd and *.txt format, I'm suspicious that it's really in my files, so if you find any inconsistencies and can help me I appreciate it. Thanks in advance |
Hi,
|
Dear Ethan
Thanks again for help me in my issues.
Follow the lcd file by mail.
Filipe
Em qui., 14 de nov. de 2024 às 12:58, Ethan Bass ***@***.***>
escreveu:
… Hi,
I only see the ascii file in Teste.zip. Did you mean to include the .lcd
file as well? I'd like to take a look at it.
To plot your chromatograms from the ascii files, try:
x <- read_chroms("/Users/ethanbass/Downloads/Teste/data_01.txt", format_in="shimadzu_ascii")
tpoints <- as.numeric(rownames(x[[1]][[1]]))
matplot(tpoints, x[[1]][[1]], type='l')
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHYFW2VSQ3JQJQLMTLV43YL2ATCA7AVCNFSM6AAAAABRWH637SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWG44DIMBVGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Still didn't get the LCD. did you send it to ethanbass@gmail.com ? |
Hi, |
This should be fixed by ethanbass/chromConverter@d7faa83. I had to infer the retention times based solely only on the interval between points (which is encoded in the chromatogram streams), assuming that the times start at 0. The metadata for your files is also in a completely different format than other LCD files I've seen. I did my best to decode it, but there are still some fields missing. |
I'm trying to use ChromatrographR but every data then I tryed to call the same error occurs, as follow:
Warning in read_chroms(paths = "my path", :
Error in sub("^\037\004|^o\004", "", raw_xml) : input string 1 is invalid
The following chromatograms could not be interpreted: 1, 2, 3, 4, 5
list()
Warning messages:
1: In readLines(path_prop, skipNul = TRUE) :
incomplete final line found on '/var/folders/pl/j44pqpqx7xq6zg1wfr25y_ch0000gn/T/RtmptXE7MM/data_File_Property13828456058bb'
2: In sub("^\037\004|^o\004", "", raw_xml) :
unable to translate '�3.00Admin��1v,�Admin<89>Hg4������1.25-1�Unknownextrato_01Admin<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>...' to a wide string
3: In readLines(path_prop, skipNul = TRUE) :
incomplete final line found on '/var/folders/pl/j44pqpqx7xq6zg1wfr25y_ch0000gn/T/RtmptXE7MM/data_00_File_Property1382838618092'
4: In sub("^\037\004|^o\004", "", raw_xml) :
unable to translate '�3.00Admin{$..�AdminX�<9a>.������1.25-1�Unknownextrato_001Admin<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?...' to a wide string
5: In readLines(path_prop, skipNul = TRUE) :
incomplete final line found on '/var/folders/pl/j44pqpqx7xq6zg1wfr25y_ch0000gn/T/RtmptXE7MM/extrato_1_File_Property138289400e29'
6: In sub("^\037\004|^o\004", "", raw_xml) :
unable to translate '�3.00Admin!n,�Adminclzu,������1.25-1�Unknownextrato_11Admin<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>...' to a wide string
7: In readLines(path_prop, skipNul = TRUE) :
incomplete final line found on '/var/folders/pl/j44pqpqx7xq6zg1wfr25y_ch0000gn/T/RtmptXE7MM/extrato_2_File_Property138284c61aa7d'
8: In sub("^\037\004|^o\004", "", raw_xml) :
unable to translate '�3.00Admin>EI`,�AdminDk*f,������1.25-1�Unknownextrato_21Admin<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?A...' to a wide string
9: In readLines(path_prop, skipNul = TRUE) :
incomplete final line found on '/var/folders/pl/j44pqpqx7xq6zg1wfr25y_ch0000gn/T/RtmptXE7MM/extrato_3_File_Property1382820001bb8'
10: In sub("^\037\004|^o\004", "", raw_xml) :
unable to translate '�3.00Admin{�^R,�Admin<8e>�X,������1.25-1�Unknownextrato_31Admin<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>?<80>...' to a wide string
How can I fix this?
Thanks in advance
The text was updated successfully, but these errors were encountered: