gffread | GTF utility providing format conversions , region filtering | Genomics library
kandi X-RAY | gffread Summary
kandi X-RAY | gffread Summary
GFF/GTF utility providing format conversions, filtering, FASTA sequence extraction and more. More details and usage examples can be found in the paper DOI: 10.12688/f1000research.23297.1 which can be also used to cite this software. The official webpage with download packages for this utility can be found online here: Use gffread -h to see the command line usage options.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gffread
gffread Key Features
gffread Examples and Code Snippets
Community Discussions
Trending Discussions on gffread
QUESTION
I'm having issue getting my snakemake aggregate command to work. My hope is to take a given GTF file, look for separate regions within the GTF and if found write these regions to a separate file. Thus, I'm unsure the number of output GTF files each input GTF file will create. In order to solve this problem I'm attempting to use a snakemake checkpoint.
To do this I wrote a brief script called collapse_gtf_file.py
which simply takes in a GTF file, and generates N number of files corresponding to the number of individual regions found. So if given the file test_regions.gtf
which had three regions, it would generate test_regions_1.gtf, test_regions_2.gtf test_regions_3.gtf
respectivly.
After said seperation, all GTF files should be converted to fasta files, and the aggregated.
However, I have not been able to get my checkpoint command to work. I can get the example cases to work, yet when I try and build a larger pipeline around this checkpoint it breaks.
So far I've tried following the checkpoint tutorial found here https://snakemake.readthedocs.io/en/stable/snakefile/rules.html#dynamic-files
...ANSWER
Answered 2019-May-21 at 15:54Function aggregate_input
is expecting variable wildcards.sample
, but you don't have any wildcards specified in rule combine_fasta_file
. You may want to either specify the wildcard in that rule or refactor the function to use global variable, if applicable.
QUESTION
I've currently been running into some issues with snakemake running intermediate rules required by a checkpoint. After attempting to trouble shoot this issue, I believe the problem lies within the expand command in the aggregate_input
function, but cannot figure out why it is behaving the way it is.
Here is the current checkpoint documentation from snakemake which I have modeled this after https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#data-dependent-conditional-execution
...ANSWER
Answered 2019-May-28 at 19:03Just figured this out. The issue was my aggregat
e command targeting the wrong file. Previously I had it written as
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gffread
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page