dvera / harp Goto Github PK
View Code? Open in Web Editor NEWHaplotype-Assisted Read Parsing
License: MIT License
Haplotype-Assisted Read Parsing
License: MIT License
Hi,
:
I am trying to parse mouse haplotypes but I am confronted by this error:
library(harp)
f <- file("*.fastq")
ref1 <- "/path/to/C57BL_6NJ"
ref2 <- "/path/to/CAST_EiJ"
harp( f, index1prefix=ref1, index2prefix=ref2 )
Error in removeext(fastqFiles1) : could not find function "removeext"
any idea what i'm doing wrong?
Thanks
I course of resolving #1 I simply copied the code for the function into my script and loaded conifur
, gyro
, converge
and travis
manually in addition. However, when using single-end files the function throws an error resulting from the undefined variable paired
when calling bowtie2 in line 88. This is due to the fact that if fastqFiles2
is not given (hence NULL
) the preceeding if statement is not called and paired is not set. Putting
if(!sam){
if(!is.null(fastqFiles2)){
paired=TRUE
} else{
paired=FALSE
}
sam1 <- bowtie2(fastqFiles1, index1prefix, if(paired){fastqFiles2}, discordant=TRUE, appendIndexToName=TRUE, reorder=TRUE, threads=threads )
sam2 <- bowtie2(fastqFiles1, index2prefix, if(paired){fastqFiles2}, discordant=TRUE, appendIndexToName=TRUE, reorder=TRUE, threads=threads )
}
reolves the problem
I want to use the HARP algorithm to pick apart reads from your published replication timing. After installing everything I am able to import the harp
package. However, when trying to call the function
harp(f, index1prefix=/path index2prefix=/path)
I get an error saying it cannot find the function
Error: object 'harp' not found
I had a look at the NAMESPACE file and the rscript and there seem to be roxygen2 directives missing which prevent the package from exporting the contained function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.