Skip to content

Commit

Permalink
Merge pull request #103 from TobyBaril/102-bug-when-using-soft-link-t…
Browse files Browse the repository at this point in the history
…o-genome

102 bug when using soft link to genome
  • Loading branch information
TobyBaril committed May 1, 2024
2 parents e9d10e6 + c4c7829 commit 43a8dc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ If you would like to try Earl Grey, or prefer to use it in a browser, you can do

NOTE: This pipeline is currently running with Dfam 3.7 curated elements only. We are working on updating to Dfam 3.8 for a future release. If required, you can modify the conda installation of RepeatMasker within the conda environment (do at your own risk!)

Earl Grey version 4.2.1 (pre-release) with all required and configured dependencies is found in the `toby_baril_bio` conda channel. To install, simply run the following depending on your installation:
Earl Grey version 4.2.2 (pre-release) with all required and configured dependencies is found in the `toby_baril_bio` conda channel. To install, simply run the following depending on your installation:
```
# With conda
conda create -n earlgrey -c conda-forge -c bioconda -c toby_baril_bio earlgrey=4.2.1
conda create -n earlgrey -c conda-forge -c bioconda -c toby_baril_bio earlgrey=4.2.2
# With mamba
mamba create -n earlgrey -c conda-forge -c bioconda -c toby_baril_bio earlgrey=4.2.1
mamba create -n earlgrey -c conda-forge -c bioconda -c toby_baril_bio earlgrey=4.2.2
```

Earl Grey version 4.1.1 with all required and configured dependencies is found in the bioconda channel. To install, simply run the following depending on your installation:
Expand Down
5 changes: 4 additions & 1 deletion earlGrey
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
usage()
{
echo " #############################
earlGrey version 4.2.0
earlGrey version 4.2.2
Required Parameters:
-g == genome.fasta
-s == species name
Expand Down Expand Up @@ -56,6 +56,9 @@ prepGenome()
if [ ! -L ${genome} ]; then
genome=$(realpath ${genome})
fi
if [ -L $genome ]; then
genome=$(realpath -s ${genome})
fi
if [ ! -f ${genome}.prep ] || [ ! -f ${genome}.dict ]; then
cp ${genome} ${genome}.bak && gzip -f ${genome}.bak
sed '/>/ s/ .*//g; /^$/d' ${genome} > ${genome}.tmp
Expand Down

0 comments on commit 43a8dc9

Please sign in to comment.