-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bioconda:master' into master
- Loading branch information
Showing
18 changed files
with
164 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -xe | ||
|
||
cd ./src/ | ||
|
||
make | ||
mkdir -p $PREFIX/bin | ||
CC="${CC}" CXX="${CXX}" CC_FLAGS="${CFLAGS}" make -j"${CPU_COUNT}" | ||
|
||
cp ghostx $PREFIX/bin | ||
mkdir -p $PREFIX/bin | ||
install -m 755 ghostx $PREFIX/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
diff --git i/src/Makefile w/src/Makefile | ||
index 8844e0a..3248657 100644 | ||
--- i/src/Makefile | ||
+++ w/src/Makefile | ||
@@ -1,9 +1,9 @@ | ||
LAST_CC=g++ | ||
-CC=gcc | ||
-CXX=g++ | ||
+CC?=gcc | ||
+CXX?=g++ | ||
COMMON_FLAGS=-Wall -Wextra -pedantic -fopenmp -O3 | ||
INCLUDES = -I ../ext/boost | ||
-CC_FLAGS=${COMMON_FLAGS} | ||
+CC_FLAGS?=${COMMON_FLAGS} | ||
LDLIBS =-lm -fopenmp | ||
|
||
ifeq ($(PROFILE), Yes) | ||
@@ -69,18 +69,18 @@ OBJS += $(CPP_SRC:%.cpp=%.o) | ||
all:ghostx | ||
|
||
ghostx: $(OBJS) | ||
- $(LAST_CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) | ||
+ $(CXX) -std=c++14 -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) | ||
|
||
.c.o: | ||
$(CC) -c $(CC_FLAGS) $< -o $@ $(INCLUDES) | ||
|
||
.cpp.o: | ||
- $(CXX) -c $(CC_FLAGS) $< -o $@ $(INCLUDES) | ||
+ $(CXX) -std=c++14 -c $(CC_FLAGS) $< -o $@ $(INCLUDES) | ||
|
||
|
||
|
||
.PHONY: clean | ||
clean: | ||
- rm ghostx | ||
rm -f *.o | ||
rm -f *~ | ||
+ rm ghostx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% set version = "1.0.0" %} | ||
|
||
package: | ||
name: lodei | ||
version: {{version}} | ||
|
||
source: | ||
url: https://github.com/rna-editing1/lodei/archive/refs/tags/v{{version}}.tar.gz | ||
sha256: e71d7bbd28a8227c8e5757c79f4c94f1bf9e1db278782cb82e5bcc2147721dfe | ||
|
||
build: | ||
noarch: python | ||
number: 0 | ||
script: python -m pip install . --no-deps --no-build-isolation -vvv | ||
run_exports: | ||
- {{ pin_subpackage('lodei', max_pin="x") }} | ||
|
||
requirements: | ||
host: | ||
- python | ||
- pip | ||
run: | ||
- pysamstats | ||
- pandas | ||
- matplotlib-base | ||
|
||
test: | ||
commands: | ||
- lodei --help | ||
|
||
about: | ||
home: https://github.com/rna-editing1/lodei | ||
license: GPL-3.0-or-later | ||
license_file: LICENSE | ||
doi: 10.1038/s41467-024-53298-y | ||
summary: Analyze differentially edited A-to-I regions in two sets of RNA-seq samples. | ||
details: | | ||
LoDEI - the local differential editing index - offers a collection of programs | ||
to detect and analyze differentially edited A-to-I regions in two sets of RNA-seq samples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/bin/bash -euo | ||
#!/bin/bash | ||
|
||
set -xeuo | ||
|
||
export CFLAGS="${CFLAGS} -fcommon" | ||
export CXXFLAGS="${CFLAGS} -fcommon" | ||
|
||
# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. | ||
# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. | ||
export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$(pwd)/.cargo" | ||
cargo-bundle-licenses --format yaml --output THIRDPARTY.yml | ||
|
||
# build statically linked binary with Rust | ||
export LD=$CC | ||
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . | ||
C_INCLUDE_PATH=$PREFIX/include LIBRARY_PATH=$PREFIX/lib RUST_BACKTRACE=1 cargo install --verbose --root $PREFIX --path . --no-track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.