Hi,
I am trying to use following query but i could not get this.
esearch -db SRA -query "biomol rna [PROP] AND Homo sapiens [orgn:__txid9606] AND (RNA-seq or rnaseq)" | efetch -format xml | xtract -pattern EXPERIMENT_PACKAGE -block EXTERNAL_ID -match "@namespace:BioSample" -tab "\n" -element EXTERNAL_ID -match EXPERIMENT@accession -tab "\n" -element EXPERIMENT
Output:
SAMN04589796
Unrecognized argument '-match'
No -element before 'EXPERIMENT@accession'
SAMN04589796
Unrecognized argument '-match'
No -element before 'EXPERIMENT@accession'
I am trying to use following query but i could not get this.
esearch -db SRA -query "biomol rna [PROP] AND Homo sapiens [orgn:__txid9606] AND (RNA-seq or rnaseq)" | efetch -format xml | xtract -pattern EXPERIMENT_PACKAGE -block EXTERNAL_ID -match "@namespace:BioSample" -tab "\n" -element EXTERNAL_ID -match EXPERIMENT@accession -tab "\n" -element EXPERIMENT
Output:
SAMN04589796
Unrecognized argument '-match'
No -element before 'EXPERIMENT@accession'
SAMN04589796
Unrecognized argument '-match'
No -element before 'EXPERIMENT@accession'