Entering edit mode
5.2 years ago
richyanicky
▴
30
I have the following file with index :
-rw-rw-r-- 1 ryanicky ryanicky 335M Nov 22 16:15 multiallel.csv.gz drwxrwxrw- 18 ryanicky root 4.0K Nov 22
16:17 .
-rw-rw-r-- 1 ryanicky ryanicky 70 Nov 22 16:32 multiallel.csv.gz.tbi
When I run the following in python I receive a failure error?
Traceback (most recent call last):
File "./LinRegAssociationTest_v3.py", line 154, in <module>
cis_strs = GetCisSTRs(STRGTFILE, CHROM, start-DISTFROMGENE, end+DISTFROMGENE)
File "./LinRegAssociationTest_v3.py", line 38, in GetCisSTRs
records = tb.query(chrom, start-1, end+1)
tabix.TabixError: query failed
Is there a test I can do at the command line using samtools?
Thanks,
Richard