diff --git a/scripts/05_CDS_search/S03_remove_site_with_not_enough_species_represented.py b/scripts/05_CDS_search/S03_remove_site_with_not_enough_species_represented.py index 62f6b56..4594e5f 100644 --- a/scripts/05_CDS_search/S03_remove_site_with_not_enough_species_represented.py +++ b/scripts/05_CDS_search/S03_remove_site_with_not_enough_species_represented.py @@ -176,7 +176,7 @@ def remove_position_with_too_much_missing_data(bash_aa, bash_nuc, MIN_SPECIES_NB OUTnuc=open("%s/%s" %(path_OUT2, new_name), "w") for fasta_name in filtered_bash_nuc.keys(): seq_nuc = filtered_bash_nuc[fasta_name] - OUTnuc.write("%s\n" %fasta_name) + OUTnuc.write("%s\n" %fasta_name[0:3]) OUTnuc.write("%s\n" %seq_nuc) OUTnuc.close() else: @@ -188,4 +188,4 @@ def remove_position_with_too_much_missing_data(bash_aa, bash_nuc, MIN_SPECIES_NB print "\nTotal number of locus recorded = %d" %n0 print "\tTotal number of locus with no indels (SAVED) = %d" %good print "\tTotal number of locus, when removing indel, wich are empty (EXCLUDED) = %d" %bad -print "" \ No newline at end of file +print ""