Giter VIP home page Giter VIP logo

Comments (5)

jianhong avatar jianhong commented on August 19, 2024

Thank you for reporting this. The Uniprot changed their rest API. We need update our url format. Will keep you updated.

from daglogo.

jianhong avatar jianhong commented on August 19, 2024

Hi @hassanakthv ,

I updated the development version of dagLogo to fix this issue. You can try to install it via
BiocManager::install("jianhong/dagLogo")

Let me know if it does not work for you.

Jianhong.

from daglogo.

mengatron avatar mengatron commented on August 19, 2024

Hello,
I am trying to use dagLogo for a Motif analysis, and meet a error when running fetchSequence function.

The sequence length is 12 for all 59 peptides in data file dat3, here is my codes,

seq <- fetchSequence(toupper(as.character(dat3$ProteinID)),
type="uniprotswissprot",
anchorAA="*",
anchorPos=as.character(dat3$M_Sequence),
proteome = proteome,
upstreamOffset=7,
downstreamOffset=7)

Error:
Error in rep(seq.int(nrow(dat)), lengths(anchorPos)) :
invalid 'times' argument

I use the latest version of dagLogo, and also tried your development version BiocManager::install("jianhong/devtools"), but the error still occurs. Could you kindly help have a look? If you need more information please let me know. Thank you very much.

Best wishes,

Zhaowei

from daglogo.

jianhong avatar jianhong commented on August 19, 2024

@mengatron ,
Could you please share me the minimized sample code to repeat your error?
Jianhong.

from daglogo.

mengatron avatar mengatron commented on August 19, 2024

Hello Jianhong, thank you for your help, here is a minimized sample code,

  | X | ProteinID | Sequence | M_Sequence | Lenght

1 | 4 | A0MZ66 | EQAIGEYEDLR | EQAIGEYEDLR | 12
2 | 20 | O00273 | KTETVQEACER | KTETVQ
EACER | 12
3 | 31 | O00273 | ASPPGDLQNPK | ASPPGDLQNPK | 12
4 | 32 | O00273 | ALAVALNWDIK | ALAVAL
NWDIK | 12
5 | 34 | O00273 | LQQTQSLHSLR | LQQTQSLHSLR | 12
6 | 45 | O60271 | GGETPGSEQWK | GGETPG
SEQWK | 12
7 | 50 | O60271 | DVAGLDTEGSK | DVAGLD*TEGSK | 12

Note: there is a sign of * to the right side of the sixth amino acid (anchorAA) for each sequence in column "M_Sequence", as shown for the last sequence DVAGLD*TEGSK, but when I send my comment most of * disappeared except for the last one.

By the way, here is my code for creating the proteome,

proteome <- prepareProteome(fasta = system.file("extdata", "HUMAN.fasta", package = "dagLogo"), species = "Homo sapiens")

Please tell me if you need anything more, thanks.

Zhaowei

from daglogo.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.