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
deep_genome
cedalion
Commits
7257b4ff
Commit
7257b4ff
authored
Feb 22, 2019
by
Thomas Van Parys
Browse files
Filter empty CDS fields in multiple ways
parent
f8d9a07e
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.nf
View file @
7257b4ff
...
...
@@ -227,7 +227,6 @@ species_new_id
cdsMap
=
species_cds_map
.
reduce
([:])
{
theMap
,
newMapping
->
theMap
[
newMapping
.
name
]
=
newMapping
.
cds
;
return
theMap
}
print
(
cdsMap
)
allSpecies
.
collectSpeciesFile
()
...
...
@@ -1043,10 +1042,14 @@ process clime {
//only use blast hits where species is of type new
//also filter out pairs where one of the two does
//not supply a CDS file.
//not supply a CDS file
(filter them real hard)
.
allVsAllProteomeBlasts_wgd
.
filter
{
it
[
1
]
==
newSpeciesId
.
value
}
.
filter
{
cdsMap
[
it
[
1
]]
&&
cdsMap
[
it
[
2
]]
}
.
filter
{
cdsMap
[
it
[
1
]]
&&
cdsMap
[
it
[
2
]]
&&
cdsMap
[
it
[
1
]]!=
null
&&
cdsMap
[
it
[
2
]]!=
null
&&
cdsMap
[
it
[
1
]].
value
!=
null
&&
cdsMap
[
it
[
2
]].
value
!=
null
&&
cdsMap
[
it
[
1
]]!=
''
&&
cdsMap
[
it
[
2
]]!=
''
}
.
view
()
.
set
{
new_species_blasts
}
...
...
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