[Seqinr-forum] getName error
Simon Penel
simon.penel at univ-lyon1.fr
Mon Dec 7 09:59:27 CET 2015
Hi Eric,
since the last version of seqinr , you should do your query this way:
choosebank('refseqViruses')
v <- query("v", "AC=NC_001401",verbose=T)
getName(v$req[[1]]);
There is more information here
http://lists.r-forge.r-project.org/pipermail/seqinr-forum/2014q4/000201.html
http://lists.r-forge.r-project.org/pipermail/seqinr-forum/2014q4/000188.html
all the best,
Simon
Le 06/12/2015 04:29, Ho, Eric a écrit :
> Hi all,
>
> I did a query as below:
>
>> choosebank('refseqViruses')
>> query("v", "AC=NC_001401",verbose=T)
> I'm checking the arguments...
> ... and everything is OK up to now.
> I'm checking the status of the socket connection...
> ... and everything is OK up to now.
> I'm sending query to server...
> ... answer from server is: code=0&lrank=2&count=1&type=SQ&locus=T
> I'm trying to analyse answer from server...
> ... and everything is OK up to now.
> ... and the rank of the resulting list is: 2 .
> ... and there are 1 elements in the list.
> ... and the elements in the list are of type SQ .
> ... and there are only parent sequences in the list.
> I'm trying to get the infos about the elements of the list...
> ... and I have received 1 lines as expected.
>> getName(v$req[[1]])
> Error in getName(v$req[[1]]) : object 'v' not found
>
> What might be wrong?
>
> Thanks,
> Eric Ho
> _______________________________________________
> Seqinr-forum mailing list
> Seqinr-forum at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/seqinr-forum
> .
>
More information about the Seqinr-forum
mailing list