Skip to content

Commit

Permalink
check gsm in xrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudceol committed May 18, 2016
1 parent 6c2249c commit e21ac4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/geoDownload.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ downloadGSM <- function( gse, gsm , userUploadDir) {
}

#Querying the database to obtain metadata
gsm_metadata <- dbGetQuery(sra_con, paste0("select distinct experiment_accession, sample_accession, experiment_alias, library_strategy, library_layout, title from experiment where experiment_url_link like '%", toupper(gsm), "'"))
gsm_metadata <- dbGetQuery(sra_con, paste0("select distinct experiment_accession, sample_accession, experiment_alias, library_strategy, library_layout, title from experiment where experiment_url_link like '%", toupper(gsm), "' OR experiment_alias like '%", toupper(gsm), "'"))
## loginfo("GSM metadata: ")
## loginfo(gsm_metadata)
## loginfo("SRA metadata: ")
Expand Down

0 comments on commit e21ac4e

Please sign in to comment.