Upstream_flank is an attribute in biomart,how can i use my python script to retrieve the upstream_flank with a value of 1000.
I generated the following xml query:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Query>
<Query virtualSchemaName = "zome_mart" formatter = "FASTA"
header = "0" uniqueRows = "1" count = ""
datasetConfigVersion = "0.6" >
<Dataset name = "phytozome" interface = "default" >
<Filter name = "organism_id" value = "447"/>
<Filter name = "upstream_flank" value = "500"/>
<Attribute name = "gene_name1" />
<Attribute name = "transcript_name1" />
<Attribute name = "transcript_exon_intron" />
<Attribute name = "organism_name" />
<Attribute name = "chr_name1" />
<Attribute name = "gene_chrom_start" />
<Attribute name = "gene_chrom_end" />
<Attribute name = "gene_chrom_strand" />
<Attribute name = "transcript_id" />
<Attribute name = "transcript_chrom_start" />
<Attribute name = "transcript_chrom_end" />
<Attribute name = "peptide_name" />
<Attribute name = "exon_chrom_start" />
</Dataset>
</query>
but this query is not working and its throwing biomaRt query Error "no upstream flank found" .
I know the issue can be solved by using Biomart package in R but I have written all my code in python and hence want to resolve the issue in python.
Kindly assist me in solving this error.
Thank you for the clarification, I will try to look into this in detail.