Coder Social home page Coder Social logo

butter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

butter's Issues

samtools depth max is 8000

Realized that samtools depth has an internal max of 8000. This is a problem for butter because, internally when measuring bin coverages, it uses samtools depth. These comparisons will be inaccurate for an any bins where a depth exceeds 8000. Will need to re-write that sub-routine to avoid use of samtools depth.

Error "FATAL: Failed to open a temp file for chrom lengths"

I got an issue at the third step of bam2wig, and the program failed to open the temp file "chr_lens_temp.txt".

I have installed wigtobigwig. My BAM file has been sorted and indexed. The header is as follows,

$ samtools view -H PB_ATAC_T2.filtered.bam
@hd VN:1.5 SO:coordinate
@sq SN:1 LN:307041717
@sq SN:2 LN:244442276
@sq SN:3 LN:235667834
@sq SN:4 LN:246994605
@sq SN:5 LN:223902240
@sq SN:6 LN:174033170
@sq SN:7 LN:182381542
@sq SN:8 LN:181122637
@sq SN:9 LN:159769782
@sq SN:10 LN:150982314
@sq SN:Pt LN:140384
@sq SN:Mt LN:569630
....

Why did the error occur? How to fix it?

Thanks.

'non-redundant reads aligned' in progress tracker

When run with option --no_condense, the progress tracker during bowtie alignment states "x million non-redundant reads aligned and counting" .. under --no_condense, it should just be regular reads, not non-redundant reads.

crash bowtie run

Hi Mike,

Im running butter using:

Ubuntu 16.04.1 LTS
kernel 4.4.0-38-generic
bowtie version 1.1.2
samtools 1.3.1

However, after bowtie mapping it crashes.

butter foo_1_trimmed.fq bar.fa

butter version 0.3.3
Fr 7. Okt 16:07:08 CEST 2016
Host:
Working Directory:
Genome: bar.fa
Reads: foo_1_trimmed.fq
Reads format: q
Adapter: None. Reads are assumed to be trimmed already.
Read condensation: ON
Max Mismatches: 0
Max number of possible placments for any read: 1000
Max number of possible placement for reads not guideable by density: 3
Processor cores for bowtie: 1
bam2wig setting: combined
Checking dependencies
samtools: /usr/bin/samtools
bowtie: /usr/bin/bowtie
bam2wig: /home/foo/tools/butter/bam2wig
wigToBigWig: /home/foo/bin/wigToBigWig
bowtie index files for genome bar.fa: Found
Compressing trimmed reads to a set of non-redundant queries ..
Reads in: 3047595
Non-redundant reads out: 2085386
File: foo_1_trimmed_condensed.fasta
Bowtie iteration one: 2085386 queries representing 3047595 reads
Calling bowtie with command:
bowtie -f -v 0 --best --strata --all -m 1 --max foo_trimmed_condensed_mmap1.fasta -p 1 -S bar.fa foo_1_trimmed_condensed.fasta
Progress (dots indicate one percent of queries):

After that I get prompt again. File condensed.fasta is populated but .condensed_mmap1.fasta is not.

Thanks in advance!

Best Regards

AndreiR

Bowtie build

I have these in the same folder as the path for the genome fa = hg19.fa
However, this does not detect the ebwt files and constantly builds the index using bowtie build.
Is there anything wrong in the current index that it does not detect them?

hg19.1.ebwt hg19.2.ebwt hg19.3.ebwt hg19.4.ebwt hg19.fa hg19.rev.1.ebwt hg19.rev.2.ebwt make_hg19.sh

Thanks,

BAM to wiggle option?

Suggestion to have option to create a wiggle genome-browser file from the completed BAM file. Probably conversion to bigWig best left to user, since I don't want to make the UCSC script wigToBigWig a dependency. Thanks to Julie Law for this suggestion.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.