Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cedric Midoux
deepomics16S
Commits
9e76ea37
Commit
9e76ea37
authored
Mar 23, 2021
by
Slaheddine Kastalli
Browse files
Delete makeSequenceTable.R
parent
c02aaa31
Changes
1
Hide whitespace changes
Inline
Side-by-side
workflow/script/makeSequenceTable.R
deleted
100644 → 0
View file @
c02aaa31
library
(
dada2
)
library
(
biomformat
)
dada_list
<-
lapply
(
snakemake
@
input
,
readRDS
)
names
(
dada_list
)
<-
lapply
(
snakemake
@
input
,
function
(
x
){
basename
(
tools
::
file_path_sans_ext
(
x
))})
seqtab
<-
makeSequenceTable
(
dada_list
,
orderBy
=
"abundance"
)
seqtab.nochim
<-
removeBimeraDenovo
(
seqtab
,
method
=
"consensus"
,
multithread
=
snakemake
@
threads
,
verbose
=
TRUE
)
saveRDS
(
seqtab.nochim
,
snakemake
@
output
$
rds
)
uniquesToFasta
(
seqtab.nochim
,
snakemake
@
output
$
fasta
,
ids
=
getSequences
(
seqtab.nochim
))
write.table
(
t
(
seqtab.nochim
),
snakemake
@
output
$
tsv
,
sep
=
"\t"
,
quote
=
FALSE
)
biom
<-
make_biom
(
t
(
seqtab.nochim
))
write_biom
(
biom
,
snakemake
@
output
$
biom
)
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