Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mbb
waw
Commits
73a16a18
Commit
73a16a18
authored
May 06, 2022
by
khalid
Browse files
Add Frogs biom 2 tsv
parent
be068df3
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/FROGS_biom_to_tsv/FROGS_biom_to_tsv.rule.snakefile
0 → 100755
View file @
73a16a18
rule <step_name>__FROGS_biom_to_tsv:
input:
**<step_name>__FROGS_biom_to_tsv_inputs(),
output:
abundance_file = config["results_dir"]+'/'+config["<step_name>__FROGS_biom_to_tsv_output_dir"]+'/tax_affiliation.tsv',
log: config["results_dir"]+'/logs/' + config["<step_name>__FROGS_biom_to_tsv_output_dir"] + '/FROGS_biom_to_tsv_log.txt',
params:
command = config["<step_name>__FROGS_biom_to_tsv_command"],
outDir = config["results_dir"]+'/'+config["<step_name>__FROGS_biom_to_tsv_output_dir"],
shell: """
{params.command} -b {input.biom} -t {output.abundance_file}
"""
\ No newline at end of file
tools/FROGS_biom_to_tsv/FROGS_biom_to_tsv.yaml
0 → 100755
View file @
73a16a18
{
id
:
FROGS_biom_to_tsv
,
name
:
FROGS biom2tsv
,
article
:
10.1093/bib/bbab318
,
website
:
"
http://frogs.toulouse.inrae.fr/"
,
git
:
"
https://github.com/geraldinepascal/FROGS"
,
description
:
"
Adding
taxonomic
affiliation
in
abundance
file"
,
version
:
"
3.2.3"
,
documentation
:
"
http://frogs.toulouse.inrae.fr/html/commands_utax.html"
,
multiqc
:
"
custom"
,
commands
:
[
{
name
:
FROGS_biom_to_tsv
,
command
:
"
/opt/biotools/FROGS-3.2.3/app/biom_to_tsv.py"
,
category
:
"
FROGS"
,
output_dir
:
FROGS_biom_to_tsv
,
inputs
:
[
#{ name: fasta, type: "fasta_file", description: "the sequences in fasta format"},
{
name
:
biom
,
type
:
"
biom"
,
description
:
"
the
abundance
of
each
OTU
in
each
sample"
}
],
outputs
:
[
{
name
:
"
abundance_file"
,
file
:
"
tax_affiliation.tsv"
,
type
:
"
tsv"
,
description
:
"
output
file
with
the
abundance
and
metadata
(tsv)"
},
],
options
:
[
],
},
],
install
:
{
perl
:
[
"
sudo
apt-get
install
python3
perl"
# deja installé
],
frogs
:
[
"
cd
/opt/biotools"
,
"
wget
https://github.com/geraldinepascal/FROGS/archive/v3.2.3.tar.gz"
,
"
tar
-zxvf
v3.2.3.tar.gz"
,
"
cd
FROGS-3.2.3"
,
"
mkdir
bin"
],
scipy
:
[
"
apt-get
install
python3-scipy"
# demande confirmation
],
},
citations
:
{
frogs
:
[
"
Maria
Bernard,
Olivier
Rué,
Mahendra
Mariadassou
and
Géraldine
Pascal;
FROGS:
a
powerful
tool
to
analyse
the
diversity
of
fungi
with
special
management
of
internal
transcribed
spacers,
Briefings
in
Bioinformatics
2021,
10.1093/bib/bbab318
"
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment