Comments (4)
Hi,
The keyword "--genesymbol" should have a following argument to specify in the GTF file which attribute corresponds to the gene symbol. For example, if the attribute name in the GTF file is "gene_name", your command should be
python AnnotateSQUIDOutput.py --genesymbol gene_name\
/public/workspace/lily/INDEX-hg19/anno/ucsc_hg19_gene.gtf \
/public/workspace/lily/squidout_sv.txt \
/public/workspace/lily/zhao_res/squid/CGGA1003.squid.finalout
You should look at the 9th column of your GTF file to find the attributes and feed in the correct attribute name for the gene symbol.
from squid.
yep!,it's work
However,there is a new erro:
Traceback (most recent call last):
File "/public/workspace/lily/software/squid-v1.5_linux_x86_64/AnnotateSQUIDOutput.py", line 333, in
Transcripts = ReadGTF(GTFfile, key_gene_id, key_gene_symbol)
File "/public/workspace/lily/software/squid-v1.5_linux_x86_64/AnnotateSQUIDOutput.py", line 98, in ReadGTF
tmpgenename=GetFeature(line, key_gene_symbol)
File "/public/workspace/lily/software/squid-v1.5_linux_x86_64/AnnotateSQUIDOutput.py", line 57, in GetFeature
s=line.index(key)
ValueError: substring not found
and i use python-3.6.6
Do i have to change the version ?
from squid.
The error suggests that the attribute name does not appear in some of the lines in the GTF file. Please make sure that the attribute name is exactly the same as the one in GTF. Or if you paste a few lines from the GTF file, I can further track down the problem or check whether the attributes are very different from what this script assumes.
from squid.
OK, It's work ,Tks a lot
from squid.
Related Issues (20)
- Bioconda package? HOT 3
- Squid on bacterial genomes HOT 5
- void segmentGraph aborted HOT 5
- Increase sensitivity of SQUID HOT 1
- Annotation of output HOT 4
- squid running errors HOT 2
- squid errors HOT 1
- Example output file? HOT 4
- SQUID annotation error
- Linker error when compiling SQUID HOT 3
- Long reads RNA
- Can I use squid tool for scRNA-seq data?
- Thread value - squid
- Error while running SQUID
- SQUID Error - Segmentation fault (core dumped)
- Support for STAR alignment feeding using WithinBAM output
- Aborted core dumped error HOT 2
- Segmentation fault (core dumped)
- Diverging results between STAR and BWA aligned inputs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squid.