Comments (3)
@harish0201, thanks for the idea! I had to do that multiple times to create "mini" BAMs. I will definitely add the command in v0.8.0 (will call it something like bam_slice
).
from fuc.
I just added a new command called bam_slice
to the v0.8.0 version of fuc
(0a7588e):
(fuc) sbslee@Seung-beens-MacBook-Air docs % fuc -v
fuc 0.8.0
(fuc) sbslee@Seung-beens-MacBook-Air docs % fuc bam_slice -h
usage: fuc bam_slice [-h] [--no_index] input_bam region output_bam
This command will slice a BAM file. By default, the command will create a accompanying index file (.bai) for the output BAM file.
positional arguments:
input_bam input BAM file
region target region
output_bam output BAM file
optional arguments:
-h, --help show this help message and exit
--no_index use to this flag to skip indexing
To install the latest v0.8.0 version, clone the repository and install fuc
in the following way:
$ git clone https://github.com/sbslee/fuc
$ cd fuc
$ git checkout 0.8.0-dev
$ pip install .
Let me know what you think! If you have additional feature requests, feel free to share as well (in a separate issue).
from fuc.
Thank you!
from fuc.
Related Issues (20)
- [VCF] Add function to find intersection between VCF files HOT 1
- [MAF/VCF] Add function to convert unannotated VCF to MAF HOT 1
- [MAF/VCF] Add function to create rainfall plots HOT 1
- [VCF] Add function to convert missing genotypes (./.) to REF homozygous (0/0)
- [BAM] Add function to plot uniformity in read depth
- [VCF] Add function to plot summary statistics HOT 1
- [VCF] Add function to convert 23andMe data to VCF
- [VCF] Error related to `pyvcf.VcfFrame.plot_hist` HOT 11
- [VCF] How to remove all rows with the same variant in VCF file using `pyvcf` HOT 10
- [VCF] Add function to create a scatter plot of allele frequency for two datasets HOT 1
- [General] Error during installation fuc via conda HOT 2
- [VCF] Add function to compute AC/AN/AF in the INFO column HOT 1
- [VCF] Add function to remove samples with high missingness
- [General] Error while importing pyvcf HOT 2
- [VCF] Update `pyvcf.VcfFrame.filter_sampnum` to be more robust HOT 1
- [MAF] maf-oncoplt Index Error HOT 3
- [MAF/VCF] `pymaf.MafFrame.from_vcf` assumes CSQ is the first field in the INFO record HOT 3
- [VCF] Issue reading vcf from mutect2, strelka2 HOT 2
- [VCF] Question on usage HOT 7
- [MAF] Variant color coding mismatch HOT 3
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 fuc.