chapmanb / bcbio.variation

Toolkit to analyze genomic variation data, built on the GATK with Clojure
66 stars 15 forks source link

Genomespace file retrieval API not working #3

Closed lynaghk closed 12 years ago

lynaghk commented 12 years ago

Running (in c302027)

(get-files :vcf {:username "myusername" :password "mypassword"})

returns

({:id "/", :folder nil, :filename nil, :created-on nil} {:id "/", :folder nil, :filename nil, :created-on nil})

Genomespace directory structure looks like

-Home
  -keminglabs
    -test
      freebayes-calls.vcf
      gatk-calls.vcf
      -ref
        GRCh37.fa
chapmanb commented 12 years ago

Kevin; Strange, that worked for me testing with your account. Are you seeing it persistently? Maybe it was a one-off GenomeSpace communication issue. I thought I had this all fixed but let me know if it's still a problem and I can dig more:

user> (get-files :vcf {:username "keminglabs" :password "XXX"})                                                                      
({:id "/Home/keminglabs/test/freebayes-calls.vcf", :folder
"/Home/keminglabs/test", :filename "freebayes-calls.vcf",
:created-on #inst "2012-07-12T21:06:37.000-00:00"}
{:id "/Home/keminglabs/test/gatk-calls.vcf", :folder
"/Home/keminglabs/test", :filename "gatk-calls.vcf",
 :created-on #inst "2012-07-12T21:06:43.000-00:00"}) 
lynaghk commented 12 years ago

I've isolated the issue to some classpath stuff---I was running through swank on the vcf project rather than directly from the bcbio project. I'll hammer out checkout deps with technomancy and try to get it all tidied up.